1c057922ca
The sub-types of Intransitive Activity (Arrive, etc) would not satisfy the vocab.IntransitiveActivityType interface, due to not accounting for the parent WithoutProperties definition. This fixes that code generation, so that all Activity subtypes will be able to be properly converted to vocab.ActivityType or vocab.IntransitiveActivityType. Updated the PostOutbox code path to properly handle this distinction when receiving a C2S IntransitiveActivity. |
||
---|---|---|
.. | ||
defs | ||
streams | ||
vocab | ||
README.md |
README.md
tools
Contains the code-generation logic for aspects of this library:
go-fed/activity/tools/defs
contains common utilities and definitions for the Vocabulary.go-fed/activity/tools/vocab
is the tool used to generate the Vocabulary code.go-fed/activity/tools/vocab/gen
is the library that does the heavy lifting of generating the Vocabulary code.go-fed/activity/tools/stream
is the tool used to generate the ActivityStream convenience code.go-fed/activity/toolsstream/gen
is the library that does the heavy lifting of generating the ActivityStream convenience code.
Before you continue further; a fair warning. This code is in severe need of tender love and care.