Annotation Type GraphQLCustomScalar
@Retention(RUNTIME)
@Target({FIELD,METHOD})
public @interface GraphQLCustomScalar
This annotation marks all fields in the generated classes, that are GraphQL Custom Scalar.
The
The
The
graphQLTypeName()
contains the type name for this Scalar, as defined in the GraphQL schema.The
javaClass()
contains the java data type that is used to store the data, on both the client and the
server side.- Author:
- EtienneSF
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.String
graphQLTypeName
The name of the Custom Scalar type, as defined in the GraphQL schema.java.lang.Class<?>
javaClass
Contains the java data type that is has used to store the data, on both the client and the server side.
-
Element Details
-
graphQLTypeName
java.lang.String graphQLTypeNameThe name of the Custom Scalar type, as defined in the GraphQL schema. This name is used to retrieve the associated converter, on runtime -
javaClass
java.lang.Class<?> javaClassContains the java data type that is has used to store the data, on both the client and the server side.
-