public interface CustomScalarRegistry
GraphQLScalarType available.| Modifier and Type | Method and Description |
|---|---|
graphql.schema.GraphQLScalarType |
getGraphQLScalarType(String graphQLTypeName)
Retrieves the registered
GraphQLScalarType for this GraphQL CustomScalar. |
void |
registerAllGraphQLScalarType()
This method registers all
GraphQLScalarType that are declared as Spring Component. |
void |
registerGraphQLScalarType(graphql.schema.GraphQLScalarType graphQLScalarType)
Manually register one
GraphQLScalarType. |
void registerAllGraphQLScalarType()
GraphQLScalarType that are declared as Spring Component. Another way to
register GraphQLScalarType is to call the registerGraphQLScalarType(GraphQLScalarType).void registerGraphQLScalarType(graphql.schema.GraphQLScalarType graphQLScalarType)
GraphQLScalarType.graphQLScalarType - graphql.schema.GraphQLScalarType getGraphQLScalarType(String graphQLTypeName)
GraphQLScalarType for this GraphQL CustomScalar.graphQLTypeName - GraphQLScalarType, or null if no converter has been registered for the given nameCopyright © 2020. All rights reserved.