Alternatively a plugin may also extend the GraphQL API.
This plugins shows how to add a field to the pluginApi so that you access it via the plugin name (graphql
).
pluginApi {
graphql {
text
}
}
A graphql
plugin must implement the GraphQLPlugin
interface. This will require the createRootSchema()
method.
The GraphQL-Java library will be used to create the schema and data resolvers for the plugin API.
Find us on Twitter @genticsmesh
Get help on stackoverflow
Ask us anything on Gitter
Dive into the code at GitHub
Licensed under Apache License v2.0 | Imprint
Choose if this website is only allowed to use functional cookies and/or marketing cookies.
Choose if this website is only allowed to use functional cookies and/or marketing cookies.