json-ld / json-ld.org

JSON for Linked Data's documentation and playground site
https://json-ld.org/
Other
858 stars 152 forks source link

Fix compaction on scoped contexts based on @type #594

Closed gkellogg closed 6 years ago

gkellogg commented 6 years ago

Look at term contexts from @type before starting to compact object members. Adds test.

Fixes #546.

gkellogg commented 6 years ago

Ruby implementation is here