How to use the apollo-server-adonis.graphiqlAdonis function in apollo-server-adonis

To help you get started, we’ve selected a few apollo-server-adonis examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github RomainLanz / adonis-graphql / src / Server / index.js View on Github external
handleUI (context, options = {}) {
    Object.assign(this.$options, options)

    return graphiqlAdonis({
      ...this.$options,
    })(context)
  }
}
github HigoRibeiro / adonis-gql / src / Server / index.js View on Github external
handleUi (context) {
    return graphiqlAdonis({
      endpointURL: '/'
    })(context)
  }
}

apollo-server-adonis

Production-ready Node.js GraphQL server for Adonis Framework

MIT
Latest version published 6 years ago

Package Health Score

67 / 100
Full package analysis