warriordog / ActivityPubSharp

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

Allow entities to specify a custom context #95

Closed warriordog closed 11 months ago

warriordog commented 1 year ago

Custom types should have a custom context, which should be included automatically on serialization. Important: this should work for flattened contexts. That means supporting individual properties within the mapped context. Objects should also be allowed to specify multiple contexts.

warriordog commented 1 year ago

This can be hooked in through TypeMap.Add()

warriordog commented 1 year ago

Waiting for #70

warriordog commented 1 year ago

This might require APType to be converted to an interface