warriordog / ActivityPubSharp

Modular implementation of ActivityPub in C#
https://warriordog.github.io/ActivityPubSharp/
Mozilla Public License 2.0
46 stars 10 forks source link

Nested context handling #97

Open warriordog opened 1 year ago

warriordog commented 1 year ago

In JSON-LD, multiple nested contexts are allowed. They seem to implement a "shadowing" model which should be reasonably simple to replicate. However, I don't think many existing implementations will handle this correctly. So I propose this implementation:

Groundwork:

Serialization:

Deserialization:

Open Questions:

Relates to #152