C# Class GraphQL.Validation.Rules.DefaultValuesOfCorrectType

Variable default values of correct type A GraphQL document is only valid if all variable default values are of the type expected by their definition.
Inheritance: IValidationRule
Mostra file Open project: graphql-dotnet/graphql-dotnet

Public Properties

Property Type Description
BadValueForDefaultArgMessage Func,string>
BadValueForNonNullArgMessage Func

Public Methods

Method Description
Validate ( ValidationContext context ) : INodeVisitor

Method Details

Validate() public method

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

Property Details

BadValueForDefaultArgMessage public_oe property

public Func,string> BadValueForDefaultArgMessage
return Func,string>

BadValueForNonNullArgMessage public_oe property

public Func BadValueForNonNullArgMessage
return Func