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

공개 메소드들

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