digitalbazaar / cborld

A Javascript CBOR-LD processor for web browsers and Node.js apps.
https://json-ld.github.io/cbor-ld-spec/
BSD 3-Clause "New" or "Revised" License
21 stars 17 forks source link

appContextMap seems unused #30

Closed OR13 closed 3 years ago

OR13 commented 3 years ago

The activitystream example in the readme does not make use of appContextMap at all.

https://github.com/digitalbazaar/cborld#encode-to-cbor-ld

This feature seems like dangerous complexity, can it be safely removed?

dlongley commented 3 years ago

The appContextMap is for using contexts that are not in the registry. Also, this library is undergoing significant changes right now -- we'll see what shakes out.

dlongley commented 3 years ago

The appContextMap will be sticking around to enable unregistered contexts to be used but appTermMap has been removed as unnecessary at this time. Closing.