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

support for object generation from marshmallow schema #54

Open
jo-tham opened this issue Mar 1, 2016 · 2 comments
Open

support for object generation from marshmallow schema #54

jo-tham opened this issue Mar 1, 2016 · 2 comments

Comments

@jo-tham
Copy link

jo-tham commented Mar 1, 2016

Hi,

is there any interest in adding support for generating objects based on marshmallow schema?

https://github.com/marshmallow-code/marshmallow

I took a cursory look - very roughly, it seems a map of schema field types to generator types is needed. what else would be involved?

or perhaps it is practical to use the ORM backend and simply constrain the fields to those used in the marschmallow schema...


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@klen
Copy link
Owner

klen commented Mar 1, 2016

Why not? But I've no time now. But a PR is very appreciated.

@jo-tham
Copy link
Author

jo-tham commented Mar 1, 2016

thanks @klen - I'm also chatting with factory_boy and marshmallow maintainers and considering a separate library that integrates generators with marshmallow.

glad to make a PR if I decide to go with mixer.

cheers

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