In Spring GraphQL you can do schema mapping inspection: https://docs.spring.io/spring-graphql/docs/current/reference/html/#execution.graphqlsource.schema-mapping-inspection
I have to write some Java code myself to enable this:
GraphQlSource.Builder builder = ...
builder.schemaResources(..)
.inspectSchemaMappings(report -> {
logger.debug(report);
})
Could you add a setting to application.properties which does this for me, for example: spring.graphql.schema.mapping.inspection=debug In this setting debug refers to logger.debug(. It coud also be none (default), info, error.
Comment From: bclozel
To better align with other properties, we went with the following arrangement:
* a new spring.graphql.schema.inspection.enabled configuration property
* this property is enabled by default
* the report is logged at the INFO level