Class GraphQLScalarTypeIDServer

java.lang.Object
com.graphql_java_generator.customscalars.GraphQLScalarTypeIDServer

public class GraphQLScalarTypeIDServer extends Object
ID are managed as UUID, on server side. This class takes care of ID attributes by serializing to and deserializing from UUID. It used internally in the generated code, in the various method that need this serialization or deserialization.
Author:
etienne-sf
  • Field Details

    • ID

      public static graphql.schema.GraphQLScalarType ID
      UUID are managed as String, on client side. This class takes care of UUID attributes by doing ... nothing! As value as serialized and deserialized as String, to hide what it may mean.
  • Constructor Details

    • GraphQLScalarTypeIDServer

      public GraphQLScalarTypeIDServer()