Skip to content
This repository has been archived by the owner on Jan 26, 2020. It is now read-only.

Map ValidationFailedException to forms #2

Open
sstok opened this issue Jan 16, 2020 · 0 comments
Open

Map ValidationFailedException to forms #2

sstok opened this issue Jan 16, 2020 · 0 comments

Comments

@sstok
Copy link
Contributor

sstok commented Jan 16, 2020

When a ValidationFailedException is thrown by the ValidatorMiddleware try to find the related form by propertyPath, fallback to the root-form otherwise.

This technically removes the need to copy Domain specific constraints into the Forms.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant