go-fed / activity

ActivityStreams & ActivityPub in golang, oh my!
BSD 3-Clause "New" or "Revised" License
703 stars 112 forks source link

Support Generating Code For ActivityStreams Extensions #65

Closed cjslep closed 5 years ago

cjslep commented 5 years ago

Note that #48 is focused on generating from JSON-LD contexts (read-in). This will focus on the backend part: once a vocabulary is read in, how to generate it into go-fed. Another issue (#66) will then work on designing a solution to allow pluggable vocabularies without bloating activity/pub.

In this case, the existing tooling needs to:

EDIT: Note that vocabularies will need to be plugged-in to each other as well. This will be handled by the vocab package for those that don't want to rely on pub. If this is not done, then core Activity types won't be able to deserialize into extended types, and vice versa. Which is a silly limitation to have.

cjslep commented 5 years ago

This massive feature has been merged into tools/exp.