activity/tools
Cory Slep 1c057922ca Fix intransitive activity generated code in vocab.
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.
2018-08-20 23:08:02 +02:00
..
defs Fix intransitive activity generated code in vocab. 2018-08-20 23:08:02 +02:00
streams Add IsPublic to streams types 2018-08-04 15:30:31 +02:00
vocab Fix intransitive activity generated code in vocab. 2018-08-20 23:08:02 +02:00
README.md Update all the READMEs 2018-05-30 23:48:34 +02:00

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.