C# Class 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.
Inheritance: IValidationRule
Afficher le fichier Open project: graphql-dotnet/graphql-dotnet

Méthodes publiques

Méthode Description
FragmentOnNonCompositeErrorMessage ( string fragName, string type ) : string
InlineFragmentOnNonCompositeErrorMessage ( string type ) : string
Validate ( ValidationContext context ) : INodeVisitor

Method Details

FragmentOnNonCompositeErrorMessage() public méthode

public FragmentOnNonCompositeErrorMessage ( string fragName, string type ) : string
fragName string
type string
Résultat string

InlineFragmentOnNonCompositeErrorMessage() public méthode

public InlineFragmentOnNonCompositeErrorMessage ( string type ) : string
type string
Résultat string

Validate() public méthode

public Validate ( ValidationContext context ) : INodeVisitor
context ValidationContext
Résultat INodeVisitor