Open jo-tham opened 8 years ago
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
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...