Default Vulcan Apollo Context, extend as you wish
Expect
Not yet used in Vulcan Next, because user might want to keep control on this Used in integration tests
Build a default graphql context for a list of models
NOTE: when coding custom mutation or resolvers, you DON'T need to rely on this context It is used internally by Vulcan to generate the default query and mutation resolvers, and field/relation resolvers for the dataSources
Create a graphql model, accepting server-options
Plugin function that adds graphql options to a generic model, including server-side fields
NOTE: should not be used directly, prefer calling "createGraphqlModelServer"
Get the model from graphql context (helps avoiding circular dependencies)
The model typeName
We expect the connectors to be already in the context
This function is just an helper to retrieve it
NOTE: you are not supposed to use this in an end application. Instead, directly import your model and its connector.
Get data source from the context.
Adds server only options to a model
Generated using TypeDoc
Server-side definition of a model