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

Fragments on composite type Fragments use a type condition to determine if they apply, since fragments can only be spread into a composite type (object, interface, or union), the type condition must also be a composite type.
Наследование: IValidationRule
Показать файл Открыть проект

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

Метод Описание
FragmentOnNonCompositeErrorMessage ( string fragName, string type ) : string
InlineFragmentOnNonCompositeErrorMessage ( string type ) : string
Validate ( ValidationContext context ) : INodeVisitor

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

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

public FragmentOnNonCompositeErrorMessage ( string fragName, string type ) : string
fragName string
type string
Результат string

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

public InlineFragmentOnNonCompositeErrorMessage ( string type ) : string
type string
Результат string

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

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