Skip to content

v2.0.0

Compare
Choose a tag to compare
@excitement-engineer excitement-engineer released this 16 Jun 19:57
· 18 commits to master since this release
0b4a9c1

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 the Config, default is now a GraphQL playground instead of GraphiQL. If you need to use GraphiQL, pass ktor.graphql.explorer.graphiQL in the renderExplorer field.
  • Update to GraphQL-Java version 14.