Fairybread Versions Save

Input validation for HotChocolate

v10.0.0

1 year ago

v9.0.0

1 year ago

v9.0.0-rc.1

2 years ago

v7.2.1

2 years ago

v8.0.0

2 years ago

Support for Hot Chocolate v12.

v7.2.0

2 years ago

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) and validatorName (for finding where that rule came from).

v8.0.0-rc.7

2 years ago

v7.2.0-rc.3

2 years ago

v7.2.0-rc.2

2 years ago

v8.0.0-rc.6

2 years ago