Class GraphqlTypeComparatorEnvironment

java.lang.Object
graphql.schema.GraphqlTypeComparatorEnvironment

@PublicApi public class GraphqlTypeComparatorEnvironment extends Object
Defines the scope to control where the registered Comparator can be applied.

elementTypes can be ordered within its parentType to restrict the Comparators scope of operation. Otherwise, supplying only the elementType results in the Comparator being reused across all matching GraphQLTypes regardless of parent.