klen / klen/mixer

support for object generation from marshmallow schema

Open
#54 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
953
Forks
91
PR merge metrics
No merged PRs in 30d

Description

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!](https://www.bountysource.com/issues/31497859-support-for-object-generation-from-marshmallow-schema?utm_campaign=plugin&utm_content=tracker%2F327725&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F327725&utm_medium=issues&utm_source=github).

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files or tests. Start by reviewing Mixer’s existing custom-object and ORM generation paths, then examine how marshmallow schema field types could map to generator types or constrain ORM-backed generation. Done means a decided integration approach and object generation for the supported schema fields.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.