Method | Description | |
---|---|---|
UndefinedFieldMessage ( string fieldName, string type, IEnumerable |
||
Validate ( ValidationContext context ) : INodeVisitor |
Method | Description | |
---|---|---|
getSuggestedFieldNames ( IGraphType type, string fieldName ) : IEnumerable |
For the field name provided, determine if there are any similar field names that may be the result of a typo.
|
|
getSuggestedTypeNames ( ISchema schema, IGraphType type, string fieldName ) : IEnumerable |
Go through all of the implementations of type, as well as the interfaces that they implement. If any of those types include the provided field, suggest them, sorted by how often the type is referenced, starting with Interfaces.
|
public UndefinedFieldMessage ( string fieldName, string type, IEnumerable |
||
fieldName | string | |
type | string | |
suggestedTypeNames | IEnumerable |
|
suggestedFieldNames | IEnumerable |
|
return | string |
public Validate ( ValidationContext context ) : INodeVisitor | ||
context | ValidationContext | |
return | INodeVisitor |