@PublicApi public class ScalarInfo extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.util.List<GraphQLScalarType> |
GRAPHQL_SPECIFICATION_SCALARS
A list of the built-in scalar types as defined by the graphql specification
|
static java.util.Map<java.lang.String,ScalarTypeDefinition> |
GRAPHQL_SPECIFICATION_SCALARS_DEFINITIONS
A map of scalar type definitions provided by graphql-java
|
| Constructor and Description |
|---|
ScalarInfo() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isGraphqlSpecifiedScalar(GraphQLScalarType scalarType)
Returns true if the scalar type is a scalar that is specified by the graphql specification
|
static boolean |
isGraphqlSpecifiedScalar(java.lang.String scalarTypeName)
Returns true if the scalar type is a scalar that is specified by the graphql specification
|
public static final java.util.List<GraphQLScalarType> GRAPHQL_SPECIFICATION_SCALARS
public static final java.util.Map<java.lang.String,ScalarTypeDefinition> GRAPHQL_SPECIFICATION_SCALARS_DEFINITIONS
public static boolean isGraphqlSpecifiedScalar(java.lang.String scalarTypeName)
scalarTypeName - the name of the scalar type in questionpublic static boolean isGraphqlSpecifiedScalar(GraphQLScalarType scalarType)
scalarType - the type in question