Пример #1
0
 public IntrospectedInputValue IntrospectInputValue(GraphQLFieldConfig fieldConfig)
 {
     return(new IntrospectedInputValue()
     {
         Name = fieldConfig.Name,
         Description = fieldConfig.Description,
         Type = this.Introspect(fieldConfig.Type)
     });
 }
Пример #2
0
 public IntrospectedField IntrospectField(GraphQLFieldConfig fieldConfig)
 {
     return(new IntrospectedField()
     {
         Name = fieldConfig.Name,
         Description = fieldConfig.Description,
         Type = this.Introspect(fieldConfig.Type),
         Arguments = this.IntrospectArguments(fieldConfig)
     });
 }
Пример #3
0
 private IntrospectedInputValue[] IntrospectArguments(GraphQLFieldConfig fieldConfig)
 {
     return(fieldConfig.Arguments.Select(e => this.IntrospectArgument(e)).ToArray());
 }