v2.0.0
excitement-engineer
released this
16 Jun 19:57
·
18 commits
to master
since this release
Changes:
- Removed the config DSL in favour of using the
Config
class. - Removed the context and the root value in the configuration
- Allow for setting a custom
executeRequest
function. This function is the way that the context and root value should be initialised. Allow a custom execute function also fixes issue #17 where a dataloader could not be used in conjunction with ktor-graphql. - Allow for rendering a custom explorer html using the optional
renderExplorer
field in theConfig
, default is now a GraphQL playground instead of GraphiQL. If you need to use GraphiQL, passktor.graphql.explorer.graphiQL
in therenderExplorer
field. - Update to GraphQL-Java version 14.