Package | Description |
---|---|
graphql.introspection | |
graphql.schema | |
graphql.schema.idl |
Modifier and Type | Method and Description |
---|---|
static void |
Introspection.addCodeForIntrospectionTypes(GraphQLCodeRegistry.Builder codeRegistry) |
Modifier and Type | Method and Description |
---|---|
GraphQLCodeRegistry.Builder |
GraphQLCodeRegistry.Builder.clearDataFetchers() |
GraphQLCodeRegistry.Builder |
GraphQLCodeRegistry.Builder.clearTypeResolvers() |
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.dataFetcher(GraphQLFieldsContainer parentType,
GraphQLFieldDefinition fieldDefinition,
DataFetcher<?> dataFetcher)
Sets the data fetcher 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
|
GraphQLCodeRegistry.Builder |
GraphQLCodeRegistry.Builder.dataFetchers(String parentTypeName,
Map<String,DataFetcher> fieldDataFetchers)
This allows you you to build all the data fetchers for the fields of a container type.
|
GraphQLCodeRegistry.Builder |
GraphQLCodeRegistry.Builder.fieldVisibility(GraphqlFieldVisibility fieldVisibility) |
static GraphQLCodeRegistry.Builder |
GraphQLCodeRegistry.newCodeRegistry() |
static GraphQLCodeRegistry.Builder |
GraphQLCodeRegistry.newCodeRegistry(GraphQLCodeRegistry existingCodeRegistry)
Returns a new builder of
GraphQLCodeRegistry objects based on the existing one |
GraphQLCodeRegistry.Builder |
GraphQLCodeRegistry.Builder.systemDataFetcher(FieldCoordinates coordinates,
DataFetcher<?> dataFetcher)
Called to place system data fetchers (eg Introspection fields) into the mix
|
GraphQLCodeRegistry.Builder |
GraphQLCodeRegistry.Builder.typeResolver(GraphQLInterfaceType interfaceType,
TypeResolver typeResolver) |
GraphQLCodeRegistry.Builder |
GraphQLCodeRegistry.Builder.typeResolver(GraphQLUnionType unionType,
TypeResolver typeResolver) |
GraphQLCodeRegistry.Builder |
GraphQLCodeRegistry.Builder.typeResolver(String typeName,
TypeResolver typeResolver) |
GraphQLCodeRegistry.Builder |
GraphQLCodeRegistry.Builder.typeResolverIfAbsent(GraphQLInterfaceType interfaceType,
TypeResolver typeResolver) |
GraphQLCodeRegistry.Builder |
GraphQLCodeRegistry.Builder.typeResolverIfAbsent(GraphQLUnionType unionType,
TypeResolver typeResolver) |
Modifier and Type | Method and Description |
---|---|
GraphQLCodeRegistry |
GraphQLCodeRegistry.transform(Consumer<GraphQLCodeRegistry.Builder> builderConsumer)
This helps you transform the current
GraphQLCodeRegistry object into another one by starting a builder with all
the current values and allows you to transform it how you want. |
Modifier and Type | Method and Description |
---|---|
GraphQLCodeRegistry.Builder |
SchemaDirectiveWiringEnvironmentImpl.getCodeRegistry() |
GraphQLCodeRegistry.Builder |
SchemaDirectiveWiringEnvironment.getCodeRegistry() |
Modifier and Type | Method and Description |
---|---|
RuntimeWiring.Builder |
RuntimeWiring.Builder.codeRegistry(GraphQLCodeRegistry.Builder codeRegistry)
This allows you to seed in your own
GraphQLCodeRegistry instance |
Copyright © 2019. All rights reserved.