Skip to main content
Version: 6.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.serializationLibraryConfigure which serialization library will be used for GraphQLRequest and GraphQLResponse types, supported libraries: JACKSON / FASTJSONJACKSON
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 enabled Prisma Labs Playground GraphQL IDEtrue
graphql.playground.endpointPrisma Labs Playground GraphQL IDE endpointplayground
graphql.sdl.enabledBoolean flag indicating whether to expose SDL endpointtrue
graphql.sdl.endpointGraphQL SDL endpointsdl
graphql.subscriptions.endpointGraphQL subscriptions endpointsubscriptions
graphql.subscriptions.keepAliveIntervalKeep the websocket alive and send a message to the client every interval in ms. Defaults to not sending messagesnull
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