Package io.smallrye.graphql.api
Annotation Type CustomScalar
-
@Retention(RUNTIME) @Target(TYPE) @Experimental("Mark a type as a custom scalar with the given name in the GraphQL schema.") public @interface CustomScalar
Allows for definition of custom graphql scalars. Types with this annotation should extend one of CustomStringScalar, CustomIntScalar, or CustomFloatScalar. Additionally, the Type should provide a public single argument constructor taking the associated type(String, BigInteger, BigDecimal).
-
-
Element Detail
-
value
String value
-
-