Class GraphQLScalarTypeElse

java.lang.Object
org.allGraphQLCases.demo.GraphQLScalarTypeElse

public class GraphQLScalarTypeElse extends Object
Useless else scalar. This scalar is just a test that the plugin can manage a Scalar, whis name is a java keyword.
It's used both as a sample, to be completed by a developper, according to his/her needs, and for the use in some tests of the plugin logic (like in the Shopify sample, to handle (badly) various scalar as based on strings).
It's actually a bad management, as this custom scalars does nothing, but read basic strings. It's just for test.
Author:
etienne-sf
  • Constructor Details

    • GraphQLScalarTypeElse

      public GraphQLScalarTypeElse()
  • Method Details

    • getElseScalar

      public static graphql.schema.GraphQLScalarType getElseScalar()
      Custom Scalar for String management.