GraphQLPluginClientExtension

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Boolean flag indicating whether or not selection of deprecated fields is allowed.

Link copied to clipboard

List of custom GraphQL scalar to converter mapping containing information about corresponding Java type and converter that should be used to serialize/deserialize values.

Link copied to clipboard

GraphQL server endpoint that will be used to for running introspection queries. Alternatively you can download schema directly from sdlEndpoint or specify local schemaFile.

Link copied to clipboard

Optional HTTP headers to be specified on an introspection query or SDL request.

Link copied to clipboard

Target package name to be used for generated classes.

Link copied to clipboard

Directory containing GraphQL query files.

Link copied to clipboard

List of query files to be processed.

Link copied to clipboard

GraphQL schema file. Can be used instead of endpoint or sdlEndpoint.

Link copied to clipboard

GraphQL server SDL endpoint that will be used to download schema. Alternatively you can run introspection query against endpoint or specify local schemaFile.

Link copied to clipboard

JSON serializer that will be used to generate the data classes.

Link copied to clipboard

Opt-in flag to wrap nullable arguments in OptionalInput that supports both null and undefined.

Functions

Link copied to clipboard
fun parserOptions(action: Action<GraphQLParserOptions>)

Configure options for parsing GraphQL queries and schema definition language documents. Settings here override the defaults set by GraphQL Java.

Link copied to clipboard
fun timeout(action: Action<TimeoutConfiguration>)