Skip to content

fix: validation should validate exactly what one would expect

Kai Brobeil requested to merge yorrd/fix-validation into master
  • typing
  • BaseQLSelectionSet support for custom scalars
  • exclude resolved fields from committing when saving (dirty will stay true if those contain open changes). This is considered a fix, not a breaking change since one should not have relied on this anyways and we're not aware of cases where we have relied on it
  • validateFields getter on AdornisEntity behaves like expected, logic moved from hacked logic in AdornisEntity.validate
  • validateFields is now a function that accepts additionalMeta as passed through the validator
  • validator will now fire a single error even if in multiple error collection if there is only one error in the list (minor UX improvement)
Edited by Kai Brobeil

Merge request reports