C# Класс GraphQL.Validation.Rules.PossibleFragmentSpreads

Possible fragment spread A fragment spread is only valid if the type condition could ever possibly be true: if there is a non-empty intersection of the possible parent types, and possible types which pass the type condition.
Наследование: IValidationRule
Показать файл Открыть проект

Открытые методы

Метод Описание
TypeIncompatibleAnonSpreadMessage ( string parentType, string fragType ) : string
TypeIncompatibleSpreadMessage ( string fragName, string parentType, string fragType ) : string
Validate ( ValidationContext context ) : INodeVisitor

Приватные методы

Метод Описание
getFragmentType ( ValidationContext context, string name ) : IGraphType

Описание методов

TypeIncompatibleAnonSpreadMessage() публичный Метод

public TypeIncompatibleAnonSpreadMessage ( string parentType, string fragType ) : string
parentType string
fragType string
Результат string

TypeIncompatibleSpreadMessage() публичный Метод

public TypeIncompatibleSpreadMessage ( string fragName, string parentType, string fragType ) : string
fragName string
parentType string
fragType string
Результат string

Validate() публичный Метод

public Validate ( ValidationContext context ) : INodeVisitor
context ValidationContext
Результат INodeVisitor