🌐 AI搜索 & 代理 主页
Skip to content

Conversation

@YaFou
Copy link
Contributor

@YaFou YaFou commented Jun 22, 2020

This pull request is related to symfony/symfony#36211.

@javiereguiluz javiereguiluz added the Waiting Code Merge Docs for features pending to be merged label Jun 24, 2020
fabpot added a commit to symfony/symfony that referenced this pull request Aug 23, 2020
This PR was merged into the 5.2-dev branch.

Discussion
----------

[Serializer] Adds FormErrorNormalizer

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| Deprecations? | no
| Tickets       | Fix #27428
| License       | MIT
| Doc PR        | symfony/symfony-docs#13885
<!--
Replace this notice by a short README for your feature/bugfix. This will help people
understand your PR and can be used as a start for the documentation.

Additionally (see https://symfony.com/releases):
 - Always add tests and ensure they pass.
 - Never break backward compatibility (see https://symfony.com/bc).
 - Bug fixes must be submitted against the lowest maintained branch where they apply
   (lowest branches are regularly merged to upper ones so they get the fixes too.)
 - Features and deprecations must be submitted against branch master.
-->

# Readme
Adds `FormErrorNormalizer` for AJAX forms (see the suggestion: #27428). It was on the [FOSRestBundle](https://github.com/FriendsOfSymfony/FOSRestBundle/blob/master/Serializer/Normalizer/FormErrorNormalizer.php) and now it is implemented in the `Serializer` component.

# Roadmap
- [x] Core of the class
- [x] Output syntax
- [x] Support of the children forms
- [x] Doc

Commits
-------

dcb8d8b [Serializer] Adds FormErrorNormalizer
@javiereguiluz javiereguiluz removed the Waiting Code Merge Docs for features pending to be merged label Sep 7, 2020
@OskarStark OskarStark added this to the 5.2 milestone Sep 13, 2020
@wouterj
Copy link
Member

wouterj commented Oct 3, 2020

Thanks for submitting the documentation together with providing this great feature, @YaFou!

@wouterj wouterj merged commit 58c9014 into symfony:master Oct 3, 2020
@YaFou YaFou deleted the form-error-normalizer branch October 3, 2020 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants