w3c / json-ld-framing

JSON-LD 1.1 Framing Specification
https://w3c.github.io/json-ld-framing/
Other
24 stars 20 forks source link

Fix invalid WebIDL #136

Closed gkellogg closed 1 year ago

gkellogg commented 1 year ago

From #135 –

The JSON-LD Framing API specification extends interfaces of the JSON-LD API but does not use the partial extension keyword, meaning that interfaces from both specs cannot be automatically merged into one.

The JSON-LD Framing API specification also re-defines interfaces that are already defined in the JSON-LD API for no apparent reason, which is bad practice as it creates two normative definitions of the same object.

This update makes the following changes to drop duplicate definitions and improve cross-reference links between the JSON-LD Framing API and the JSON-LD API:

cc/@tidoust

gkellogg commented 1 year ago

Summary: Updates the definitions of JsonLdProcessor and JsonLdOptions to be conform with WebIDL requirements.