Class GraphQLScalarTypeString
java.lang.Object
graphql.schema.GraphQLScalarType
com.graphql_java_generator.customscalars.GraphQLScalarTypeString
- All Implemented Interfaces:
graphql.schema.GraphQLDirectiveContainer,graphql.schema.GraphQLInputType,graphql.schema.GraphQLNullableType,graphql.schema.GraphQLOutputType,graphql.schema.GraphQLType,graphql.schema.GraphQLUnmodifiedType
public class GraphQLScalarTypeString
extends graphql.schema.GraphQLScalarType
Useless String scalar.
It's used both as a sample, to be completed by a developper, according to his/her needs, and for the use in some tests of the plugin logic (like in the Shopify sample, to handle (badly) various scalar as based on strings).
It's actually a bad management, as this custom scalars does nothing, but read basic strings. It's just for test.
It's used both as a sample, to be completed by a developper, according to his/her needs, and for the use in some tests of the plugin logic (like in the Shopify sample, to handle (badly) various scalar as based on strings).
It's actually a bad management, as this custom scalars does nothing, but read basic strings. It's just for test.
- Author:
- EtienneSF
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description GraphQLScalarTypeString()As the constructors for theGraphQLScalarTypeare marked as deprecated, the way to create Custom Scalars may change in the future. -
Method Summary
Methods inherited from class graphql.schema.GraphQLScalarType
accept, getChildren, getCoercing, getDefinition, getDescription, getDirectives, getName, newScalar, newScalar, toString, transform
-
Constructor Details
-
GraphQLScalarTypeString
public GraphQLScalarTypeString()As the constructors for theGraphQLScalarTypeare marked as deprecated, the way to create Custom Scalars may change in the future. So this constructor can only be used by theCustomScalars, that works as a singleton factory- Parameters:
name-description-coercing-- See Also:
GraphQLScalarType(String, String, Coercing)
-