Class GraphQLScalarTypeDate
java.lang.Object
graphql.schema.GraphQLScalarType
com.graphql_java_generator.customscalars.GraphQLScalarTypeDate
- All Implemented Interfaces:
graphql.schema.GraphQLDirectiveContainer,graphql.schema.GraphQLInputType,graphql.schema.GraphQLNullableType,graphql.schema.GraphQLOutputType,graphql.schema.GraphQLType,graphql.schema.GraphQLUnmodifiedType
public class GraphQLScalarTypeDate
extends graphql.schema.GraphQLScalarType
A proposed Date scalar, that stores dates in String, formatted as: YYYY-MM-DD
This Scalar is proposed to be used, for integration testing (checks that the plugin correctly manages Custom Scalars, see samples) and with more documentation to help people to create their own Custom Scalar implementations.
This Scalar is proposed to be used, for integration testing (checks that the plugin correctly manages Custom Scalars, see samples) and with more documentation to help people to create their own Custom Scalar implementations.
- Author:
- EtienneSF
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description GraphQLScalarTypeDate()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
-
GraphQLScalarTypeDate
public GraphQLScalarTypeDate()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)
-