Record: GraphqlServiceConfig

Provides a set of configurations for the GraphQL service.

Closed record


  • maxQueryDepth int?
  • The maximum depth allowed for a query

  • auth ListenerAuthConfig[ ]?
  • Listener authenticaton configurations

  • contextInit ContextInit(default initDefaultContext)
  • Function to initialize the context. If not provided, an empty context will be created

  • cors CorsConfig?
  • The cross origin resource sharing configurations for the service

  • graphiql Graphiql(default {})
  • GraphiQL client configurations

  • schemaString readonly string(default "")
  • The generated schema. This is auto-generated at the compile-time