Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added translation domain to FormErrorHandler #783

Merged
merged 2 commits into from
Sep 26, 2017

Conversation

prosalov
Copy link
Contributor

Added an ability to inject a translation domain parameter (validator.translation_domain) to FormErrorHndler. This is a solution suggestion for the following issue: schmittjoh/JMSSerializerBundle#501

@goetas
Copy link
Collaborator

goetas commented Jun 17, 2017

why not add an optional parameter to the constructor?

without tests, this can't be merged

Injected translation domain to the constructor, added tests

Fixed test issue

Fixed FormError issue
@prosalov
Copy link
Contributor Author

Injected translation domain param into the constructor and added tests. Please take a look.

@goetas
Copy link
Collaborator

goetas commented Sep 26, 2017

looks good to me! thanks @prosalov!

@goetas goetas merged commit f3273cc into schmittjoh:master Sep 26, 2017
@goetas
Copy link
Collaborator

goetas commented Sep 26, 2017

can you update schmittjoh/JMSSerializerBundle#580 ?

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.

2 participants