Skip to main content
Version: 7.x.x

Configuration Properties

graphql-kotlin-spring-server relies on GraphQLConfigurationProperties to provide various customizations of the auto-configuration library. All applicable configuration properties expose configuration metadata that provide details on the supported configuration properties.

PropertyDescriptionDefault Value
graphql.endpointGraphQL server endpointgraphql
graphql.packagesList of supported packages that can contain GraphQL schema type definitions
graphql.printSchemaBoolean flag indicating whether to print the schema after generator creates itfalse
graphql.federation.enabledBoolean flag indicating whether to generate federated GraphQL modelfalse
graphql.federation.optInV2Boolean flag indicating whether to generate Federation v2 GraphQL modelfalse
graphql.federation.tracing.enabledBoolean flag indicating whether add federated tracing data to the extensionstrue (if federation enabled)
graphql.federation.tracing.debugBoolean flag to log debug info in the federated tracingfalse (if federation enabled)
graphql.introspection.enabledBoolean flag indicating whether introspection queries are enabledtrue
graphql.playground.enabledBoolean flag indicating whether to enable Prisma Labs Playground GraphQL IDEfalse
graphql.playground.endpointPrisma Labs Playground GraphQL IDE endpointplayground
graphql.graphiql.enabledBoolean flag indicating whether to enable GraphiQL GraphQL IDEtrue
graphql.graphiql.endpointPrisma Labs Playground GraphQL IDE endpointgraphiql
graphql.sdl.enabledBoolean flag indicating whether to expose SDL endpointtrue
graphql.sdl.endpointGraphQL SDL endpointsdl
graphql.subscriptions.connectionInitTimeoutServer timeout (in milliseconds) between establishing web socket connection and receiving connection-init message60_000
graphql.subscriptions.endpointGraphQL subscriptions endpointsubscriptions
graphql.subscriptions.keepAliveIntervalDeprecated. Keep the websocket alive and send a message to the client every interval in ms. Defaults to not sending messagesnull
graphql.subscriptions.protocolWebSocket based subscription protocol. Supported protocols: APOLLO_SUBSCRIPTIONS_WS / GRAPHQL_WSGRAPHQL_WS
graphql.batching.enabledBoolean flag indicating whether to enable custom dataloader instrumentations for 1 or more GraphQL Operationsfalse
graphql.batching.strategyConfigure which custom dataloader instrumentation will be used (LEVEL_DISPATCHED or SYNC_EXHAUSTION)LEVEL_DISPATCHED