mixer
mixer copied to clipboard
support for object generation from marshmallow schema
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.
Why not? But I've no time now. But a PR is very appreciated.
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