Class SmallRyeGraphQLRuntimeConfig
java.lang.Object
io.quarkus.smallrye.graphql.runtime.SmallRyeGraphQLRuntimeConfig
@ConfigRoot(name="smallrye-graphql",
phase=RUN_TIME)
public class SmallRyeGraphQLRuntimeConfig
extends Object
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) booleanIf GraphQL UI should be enabled.Excludes all the 'null' fields in the GraphQL response'sdatafield, except for the non-successfully resolved fields (errors).Specifies the field visibility for the GraphQL schema.List of Checked Exceptions class names that should hide the error message.List of Runtime Exceptions class names that should show the error message. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
enable
If GraphQL UI should be enabled. By default, GraphQL UI is enabled if it is included (seealways-include). -
fieldVisibility
Specifies the field visibility for the GraphQL schema. This configuration item allows you to define comma-separated list of patterns (GraphQLType.GraphQLField). These patterns are used to determine which fields should be excluded from the schema. Special valueno-introspectionwill disable introspection fields. For more info see graphql-java documentation -
excludeNullFieldsInResponses
Excludes all the 'null' fields in the GraphQL response'sdatafield, except for the non-successfully resolved fields (errors). Disabled by default. -
showRuntimeExceptionMessage
List of Runtime Exceptions class names that should show the error message. By default, Runtime Exception messages will be hidden and a generic `Server Error` message will be returned. -
hideCheckedExceptionMessage
List of Checked Exceptions class names that should hide the error message. By default, Checked Exception messages will show the exception message.
-
-
Constructor Details
-
SmallRyeGraphQLRuntimeConfig
public SmallRyeGraphQLRuntimeConfig()
-