public bool IsPossibleType(GraphQLObjectType type) { if (PossibleTypeNames == null) { PossibleTypeNames = Types.Aggregate( ImmutableDictionary <string, bool> .Empty, (dict, possibleType) => dict.Add(possibleType.Name, true)); } return(PossibleTypeNames[type.Name]); }
public GraphQLList(GraphQLObjectType ofType) { OfType = ofType; }