Beispiel #1
0
 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]);
 }
Beispiel #2
0
 public GraphQLList(GraphQLObjectType ofType)
 {
     OfType = ofType;
 }