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

serialized_name for discriminator #372

Closed
gepo opened this issue Dec 9, 2014 · 1 comment
Closed

serialized_name for discriminator #372

gepo opened this issue Dec 9, 2014 · 1 comment

Comments

@gepo
Copy link

gepo commented Dec 9, 2014

I was need change serialized name of discriminator, because it's too long.
I implement it for Yaml driver:
https://github.com/gepo/serializer/commit/a5cc28e87f3ec10d47b008ff410bc74ab2b046a2

It's obvious and helpful feature, is it need for others? It should be implemented for other drivers before pull request.

@goetas
Copy link
Collaborator

goetas commented Apr 24, 2017

@Discriminator(field="foo")

@goetas goetas closed this as completed Apr 24, 2017
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

No branches or pull requests

2 participants