Understanding GraphQL Introspection
The "introspection" feature allows asking a GraphQL schema for information about what queries it supports. For more details, please refer to the Official GraphQL Introspection documentation.
To process scenario data, both the Scenario Service and Data Service expose GraphQL APIs. GraphQL introspection queries are disabled by default for these two services, as it is recommended for a deployed application in production. For more details, please refer to this link.
However, introspection queries can be useful while the application is in development. Introspection can be enabled, preferably with a Spring development profile, in the following configuration files:
-
extensions/data-service-extension/src/main/resources/application.yml -
extensions/scenario-service-extension/src/main/resources/application.yml
by setting the following property to true:
# Enable/Disable GraphQL introspection query (default false), should be disabled in production spring.graphql.schema.introspection.enabled: true