Skip to content

Commit

Permalink
Merge branch 'master' into feature/gh-1932
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbakker authored Feb 19, 2025
2 parents d69b6fa + 6ddc67f commit f5f2213
Show file tree
Hide file tree
Showing 5 changed files with 118 additions and 5 deletions.
5 changes: 0 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ plugins {
id("me.champeau.jmh") version "0.7.2"

kotlin("jvm") version Versions.KOTLIN_VERSION
kotlin("kapt") version Versions.KOTLIN_VERSION
idea
eclipse
}
Expand Down Expand Up @@ -88,10 +87,6 @@ configure(subprojects.filterNot { it in internalBomModules }) {
dependencies {
// Apply the BOM to applicable subprojects.
api(platform(project(":graphql-dgs-platform")))
// Speed up processing of AutoConfig's produced by Spring Boot
annotationProcessor("org.springframework.boot:spring-boot-autoconfigure-processor")
// Produce Config Metadata for properties used in Spring Boot
annotationProcessor("org.springframework.boot:spring-boot-configuration-processor")

// Sets the JMH version to use across modules.
// Please refer to the following links for further reference.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
{
"properties": [
{
"name": "dgs.graphql.convert-all-data-loaders-to-with-context.enabled",
"defaultValue": "true",
"type": "java.lang.Boolean",
"description": "Automatically convert all defined dataloader to accept passing of context."
},
{
"name": "dgs.graphql.dataloader.schedule-duration",
"defaultValue": "10ms",
"type": "java.lang.String",
"description": "Set the schedule for scheduling dispatch predicate checks."
},
{
"name": "dgs.graphql.dataloader.ticker-mode-enabled",
"defaultValue": "false",
"type": "java.lang.Boolean",
"description": "Enables the ticker mode for scheduling data loader dispatches."
},
{
"name": "dgs.graphql.dgs-response-headers.enabled",
"defaultValue": "true",
"type": "java.lang.Boolean",
"description": "Backward compatibility for setting response headers through dgs-response-headers field in extensions, or using DgsExecutionResult. While this can easily be done through a custom WebGraphQlInterceptor, this property provides backward compatibility with older code."
},
{
"name": "dgs.graphql.enable-entity-fetcher-custom-scalar-parsing",
"defaultValue": "false",
"type": "java.lang.Boolean",
"description": "Enables the bug fix for entity fetcher custom scalar parsing. This will eventually be enabled by default."
},
{
"name": "dgs.graphql.errors.classification.enabled",
"defaultValue": "true",
"type": "java.lang.Boolean",
"description": "Enable classification of errors in the extensions field."
},
{
"name": "dgs.graphql.graphiql.enabled",
"defaultValue": "true",
"type": "java.lang.Boolean",
"description": "Enabled the GraphiQL query interface"
},
{
"name": "dgs.graphql.graphiql.path",
"defaultValue": "/graphiql",
"type": "java.lang.String",
"description": "Configure the GraphiQL query interface url path."
},
{
"name": "dgs.graphql.introspection.enabled",
"defaultValue": "true",
"type": "java.lang.Boolean",
"description": "Configure allowing introspection queries. Note that many tools rely on this."
},
{
"name": "dgs.graphql.introspection.show-sdl-comments",
"defaultValue": "true",
"type": "java.lang.Boolean",
"description": "Show schema comments in introspection."
},
{
"name": "dgs.graphql.path",
"defaultValue": "/graphql",
"type": "java.lang.String",
"description": "The path for th the graphql endpoint."
},
{
"name": "dgs.graphql.preparsed-document-provider.cache-validity-duration",
"defaultValue": "PT1H",
"type": "java.lang.String",
"description": "How long a cached entry in the PreparsedDocumentProvider Caffiene-cache is valid for. Specified as an ISO-8601 duration string."
},
{
"name": "dgs.graphql.preparsed-document-provider.enabled",
"defaultValue": "true",
"type": "java.lang.Boolean",
"description": "Enables a Caffiene-cache backed implementation of a PreparsedDocumentProvider."
},
{
"name": "dgs.graphql.preparsed-document-provider.maximum-cache-size",
"defaultValue": 2000,
"type": "java.lang.Integer",
"description": "Sets the maximum size of the PreparsedDocumentProvider Caffiene-cache."
},
{
"name": "dgs.graphql.schema-wiring-validation-enabled",
"defaultValue": "true",
"type": "java.lang.Boolean",
"description": "Verify if datafetchers are registered to fields defined in the schema."
},
{
"name": "dgs.graphql.spring.webmvc.asyncdispatch.enabled",
"defaultValue": "false",
"type": "java.lang.Boolean",
"description": "Enable async dispatching in the request handling. This can reduce the number of server working threads required, but requires all filters to be async aware, and tests to handle async correctly."
},
{
"name": "dgs.graphql.virtualthreads.enabled",
"defaultValue": "false",
"type": "java.lang.Boolean",
"description": "Run each non-trivial datafetcher on a new virtual thread. This allows for parallel execution of datafetchers without explicitly using CompletableFuture. Requires JDK21+. Not that this is in addition to Spring's spring.threads.virtual.enabled property."
},
{
"name": "dgs.graphql.websocket.path",
"defaultValue": "/graphql",
"type": "java.lang.String",
"description": "Path for the WebSockets listener if enabled."
},
{
"name": "dgs.springgraphql.pagination.enabled",
"defaultValue": "true",
"type": "java.lang.Boolean",
"description": "Enable the pagination feature in Spring GraphQL."
}
]
}

0 comments on commit f5f2213

Please sign in to comment.