C# Class GraphQL.Validation.Rules.KnownFragmentNames

Known fragment names A GraphQL document is only valid if all ...Fragment fragment spreads refer to fragments defined in the same document.
Inheritance: IValidationRule
Mostra file Open project: graphql-dotnet/graphql-dotnet

Public Methods

Method Description
UnknownFragmentMessage ( string fragName ) : string
Validate ( ValidationContext context ) : INodeVisitor

Method Details

UnknownFragmentMessage() public method

public UnknownFragmentMessage ( string fragName ) : string
fragName string
return string

Validate() public method

public Validate ( ValidationContext context ) : INodeVisitor
context ValidationContext
return INodeVisitor