v7.2.0
New features:
- Ability to explicitly setup validation at the argument level when needed (as opposed to implicit validation)
[Validate(typeof(FooValidator)]
,[DontValidate]
,DontImplicitlyValidate]
argDef.ValidateWith<FooValidator>()
/argDef.DontValidate()
,argDef.DontImplicitlyValidate()
Breaking changes:
(sorry, I know this is a minor version, but v8 was already taken for a HCv12 compat release)
IValidationErrorsHandler
/ArgumentValidationResult
IValidatorRegistry
Notable changes:
- Error output now includes
argumentName
(as in your GQL schema) andvalidatorName
(for finding where that rule came from).