digitalbazaar / jsonld.js

A JSON-LD Processor and API implementation in JavaScript
https://json-ld.org/
Other
1.66k stars 195 forks source link

Do not check `@version` when comparing protected term definitions #423

Open dlongley opened 3 years ago

dlongley commented 3 years ago

The @version property does not change a term definition. For two term definitions, A and B, if A expresses "@version": 1.1 and B does not -- yet all other expression is the same, the term definitions are the same. This is not different from using a prefix to define the id of a term in one definition and using the full URL in another, again, the term definitions are the same.

dlongley commented 3 years ago

@davidlehn -- we need this implemented right away to stop the proliferation of @version.