Class UnionTypesChecker

java.lang.Object
graphql.schema.idl.UnionTypesChecker

class UnionTypesChecker extends Object
UnionType check, details in https://spec.graphql.org/June2018/#sec-Type-System.
     
         
  • Invalid name begin with "__" (two underscores);
  • Union type must include one or more member types;
  • The member types of a Union type must all be Object base types;
  • The member types of a Union type must be unique.