C# Class GraphQL.Validation.Rules.ScalarLeafs

Scalar leafs A GraphQL document is valid only if all leaf fields (fields without sub selections) are of scalar or enum types.
Inheritance: IValidationRule
Afficher le fichier Open project: graphql-dotnet/graphql-dotnet

Méthodes publiques

Свойство Type Description
NoSubselectionAllowedMessage Func
RequiredSubselectionMessage Func

Méthodes publiques

Méthode Description
Validate ( ValidationContext context ) : INodeVisitor

Private Methods

Méthode Description
Field ( IGraphType type, Field field, ValidationContext context ) : void

Method Details

Validate() public méthode

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

Property Details

NoSubselectionAllowedMessage public_oe property

public Func NoSubselectionAllowedMessage
Résultat Func

RequiredSubselectionMessage public_oe property

public Func RequiredSubselectionMessage
Résultat Func