Skip to content

web-sys omits DataView members when generating code from IDLs #2312

Closed
@qdot

Description

@qdot

Describe the Bug

With the WebBluetooth IDL landed into unstable, web-sys is now generating WebBluetooth rust accessible code. However, some members from the spec are missing since it seems to be the only spec that uses DataView as an IDL type.

Steps to Reproduce

  1. Generate web-sys features using unstable config
  2. Check generated BluetoothRemoteGATTCharacteristic code

Expected Behavior

The value member of BluetoothRemoteGATTCharacteristic is generated as part of the file

Actual Behavior

value does not exist as a member of the generated rust code.

Additional Context

I'll see if I can handle this, since it's in the IDL I submitted and that seems to be the only IDL currently in the system that does this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions