Skip to content
This repository has been archived by the owner on Feb 7, 2025. It is now read-only.

feat: expose the total amount of validation schema errors #254

Merged
merged 4 commits into from
Apr 18, 2024

Conversation

erunion
Copy link
Member

@erunion erunion commented Apr 17, 2024

🧰 Changes

It would be very nice if we exposed the total amount of schema validation errors that occurred so this adds that value to a totalErrors property on the Error object that's thrown.

@erunion erunion added the enhancement New feature or request label Apr 17, 2024
@erunion erunion requested a review from kanadgupta April 17, 2024 23:38
@erunion erunion merged commit 115ddda into main Apr 18, 2024
4 of 8 checks passed
@erunion erunion deleted the feat/expose-total-errors branch April 18, 2024 01:11
erunion added a commit that referenced this pull request Apr 18, 2024
* feat: expose the total amount of validation schema errors

* fix: broken test?

* fix: broken test???

* fix: try again????
erunion added a commit that referenced this pull request Apr 18, 2024
* chore(deps-dev): repo maintenance

* fix: bad pointer in ci

* chore: removing some funky cloneDeep code that we dont need anymore

* Update test/specs/object-source/object-source.spec.js

Co-authored-by: Kanad Gupta <[email protected]>

* feat: expose the total amount of validation schema errors (#254)

* feat: expose the total amount of validation schema errors

* fix: broken test?

* fix: broken test???

* fix: try again????

* ci: adding a pr title linter

---------

Co-authored-by: Kanad Gupta <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants