Package io.github.ketiko.graphql.scalars
Class CustomScalars
- java.lang.Object
-
- io.github.ketiko.graphql.scalars.CustomScalars
-
public class CustomScalars extends Object
Provides central place for available custom scalars.
-
-
Field Summary
Fields Modifier and Type Field Description static graphql.schema.GraphQLScalarTypeUuidProvides a UUID scalar that accepts string values like `34af64af-2090-4a8d-8e0a-4d01d5551fbb` and produces a `java.util.UUID`.
-
Constructor Summary
Constructors Constructor Description CustomScalars()
-
-
-
Field Detail
-
Uuid
public static final graphql.schema.GraphQLScalarType Uuid
Provides a UUID scalar that accepts string values like `34af64af-2090-4a8d-8e0a-4d01d5551fbb` and produces a `java.util.UUID`.Its
Coercing.serialize(java.lang.Object)andCoercing.parseValue(java.lang.Object)methods accept formatted UUID strings as valid objects.@see java.util.UUID
-
-