Package | Description |
---|---|
graphql.schema |
Modifier and Type | Method and Description |
---|---|
static FieldCoordinates |
FieldCoordinates.coordinates(GraphQLFieldsContainer parentType,
GraphQLFieldDefinition fieldDefinition)
Creates new field coordinates
|
static FieldCoordinates |
FieldCoordinates.coordinates(String parentType,
String fieldName)
Creates new field coordinates
|
static FieldCoordinates |
FieldCoordinates.systemCoordinates(String fieldName)
The exception to the general rule is the system __xxxx Introspection fields which have no parent type and
are able to be specified on any type
|
Modifier and Type | Method and Description |
---|---|
GraphQLCodeRegistry.Builder |
GraphQLCodeRegistry.Builder.dataFetcher(FieldCoordinates coordinates,
DataFetcher<?> dataFetcher)
Sets the data fetcher for a specific field inside a container type
|
GraphQLCodeRegistry.Builder |
GraphQLCodeRegistry.Builder.dataFetcher(FieldCoordinates coordinates,
DataFetcherFactory<?> dataFetcherFactory)
Sets the data fetcher factory for a specific field inside a container type
|
GraphQLCodeRegistry.Builder |
GraphQLCodeRegistry.Builder.dataFetcherIfAbsent(FieldCoordinates coordinates,
DataFetcher<?> dataFetcher)
Sets the data fetcher factory for a specific field inside a container type ONLY if not mapping has already been made
|
boolean |
GraphQLCodeRegistry.Builder.hasDataFetcher(FieldCoordinates coordinates)
Returns a data fetcher associated with a field within a container type
|
GraphQLCodeRegistry.Builder |
GraphQLCodeRegistry.Builder.systemDataFetcher(FieldCoordinates coordinates,
DataFetcher<?> dataFetcher)
Called to place system data fetchers (eg Introspection fields) into the mix
|
Copyright © 2019. All rights reserved.