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

Allow type choices at the top level #4

Open
judy2k opened this issue Jun 6, 2015 · 0 comments
Open

Allow type choices at the top level #4

judy2k opened this issue Jun 6, 2015 · 0 comments

Comments

@judy2k
Copy link
Owner

judy2k commented Jun 6, 2015

Currently Choices can only be used for attributes of a Model, which means you need to know the type of the top-level object so you can call deserialize on the correct Model subclass. Either Choice implementations need to support deserialize directly, or some other mechanism should be introduced.

@judy2k judy2k modified the milestone: v0.4.0 Release Jun 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant