Public API components
The main component of Rejoiner is the SchemaModule.
TODO: Explain how SchemaModule works and how it uses Guice Multibinder.
These annotations are used to build and modify a generated GraphQL schema.
- Type - used to build schema modifications.
Producing the final GraphQL schema
- SchemaToProto - used to generate a protobuf message from the resulting schema. This can be used to expose the GraphQL endpoint over gRPC.
- SchemaToTypeScript - generates a basic TypeScript typedef file. Complex clients should consider GraphQL frameworks such as Relay or Apollo.
- TypeModification are functions that transform GraphQLObjectType instances. This is used to add and remove fields from the generated GraphQLObjectType instances. Additional transforms can be added by implementing this interface.
These classes are package private and not part of the public API.