Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Serializer] Adds FormErrorNormalizer#36211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
src/Symfony/Component/Serializer/Tests/Normalizer/FormErrorNormalizerTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
YaFou commentedJun 25, 2020
I don't know why the test suite does not pass. Anybody has an answer? |
fabpot left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Is there any "standards"/prior art for form validation? That would be better than having our own if possible.
src/Symfony/Component/Serializer/Normalizer/FormErrorNormalizer.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Serializer/Normalizer/FormErrorNormalizer.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
YaFou commentedAug 17, 2020
After some research, I did not find RFCs or something like that. However this type of normalizer can follow the specificationRFC 7807 like the I will work on reviews next week. |
src/Symfony/Component/Serializer/Normalizer/FormErrorNormalizer.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Serializer/Normalizer/FormErrorNormalizer.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Serializer/Normalizer/FormErrorNormalizer.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Bundle/FrameworkBundle/Resources/config/serializer.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
fabpot left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
You should probably update the FrameworkBundle composer constraint to require Form 5.2+.
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/FrameworkExtensionTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
fabpot commentedAug 23, 2020
Let's wait for the tests... I think they will fail as you haven't not changed deps on FramewokrBundle as I mentioned in my previous review. |
YaFou commentedAug 23, 2020
@fabpot, the tests passes: the Form Component constraint in the Framework Bundle was already at |
fabpot left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Ok, symfony/form is already set to 5.2 :)
fabpot commentedAug 23, 2020
Thank you@YaFou. |
This PR was merged into the master branch.Discussion----------[Serializer] Adds FormErrorNormalizer<!--If your pull request fixes a BUG, use the oldest maintained branch that containsthe bug (seehttps://symfony.com/releases for the list of maintained branches).If your pull request documents a NEW FEATURE, use the same Symfony branch wherethe feature was introduced (and `master` for features of unreleased versions).-->This pull request is related tosymfony/symfony#36211.Commits-------9ed468d [Serializer] Adds FormErrorNormalizer
Uh oh!
There was an error while loading.Please reload this page.
Readme
Adds
FormErrorNormalizerfor AJAX forms (see the suggestion:#27428). It was on theFOSRestBundle and now it is implemented in theSerializercomponent.Roadmap