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
파일 보기 프로젝트 열기: graphql-dotnet/graphql-dotnet

공개 메소드들

메소드 설명
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