@Retention(value=RUNTIME) @Target(value={FIELD,METHOD}) public @interface GraphQLNonScalar
javaClass() contains the type for this Scalar. This is useful only when this field is actually a list,
as java has the type erasure shit, and on Runtime, you can use java reflection to check the objects allowed in the
list.| Modifier and Type | Required Element and Description |
|---|---|
String |
graphQLTypeName
The name of the Custom Scalar type, as defined in the GraphQL schema.
|
Class<?> |
javaClass
Contains the java data type that is has used to store the data, on both the client and the server side.
|
public abstract String graphQLTypeName
public abstract Class<?> javaClass
Copyright © 2020. All rights reserved.