Skip to content

Added support serialization the nested form errors. #17

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

Merged
merged 2 commits into from
Aug 16, 2011

Conversation

yethee
Copy link
Contributor

@yethee yethee commented Aug 16, 2011

No description provided.

yethee added 2 commits August 16, 2011 14:55

Verified

This commit was signed with the committer’s verified signature.
isaacs isaacs

Verified

This commit was signed with the committer’s verified signature.
isaacs isaacs
@schmittjoh schmittjoh merged commit 2f59b06 into schmittjoh:master Aug 16, 2011
@schmittjoh
Copy link
Owner

I've made some changes:
9172538

Tests still pass, but let me know if I have broken something.

@yethee
Copy link
Contributor Author

yethee commented Aug 16, 2011

It works. Thanks.

@yethee
Copy link
Contributor Author

yethee commented Aug 16, 2011

But it seems for the form need separate the handler, and in it should be logic - serialize only errors or all fields of form.

@schmittjoh
Copy link
Owner

Not sure I understand what you mean. Could you maybe provide an example?

@yethee
Copy link
Contributor Author

yethee commented Aug 16, 2011

If do implement the handler instead of FormNormalizer, it will be duplicated with the logic of FormErrorHandler. And in this case for handlers will need to specify the priority, if both handlers will be registered.

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

Successfully merging this pull request may close these issues.

None yet

2 participants