pcah/python-clean-architecture

Domain & Integration: `marshmallow` as a Factory implementation

lhaze opened this issue · 0 comments

lhaze commented

There already is a BasicFactory implementation of IFactory interface. However, trying to analyze the connection between Entity, Repository, Factory, and DAO patterns, I noticed that I need to decomposite a more sophisticated example of Entity relations and modeling them into a Factory composite.

To do:

  • introduce marshmallow, marshmallow-enum & marshmallow-annotations (or a minimal subset of those dependencies)
  • create a marshmallow implementation of IFactory
  • analyze if all of the above dependencies are a necessity, or should some of their code be incorporated to the codebase.

It's a part of an approach to solving question #40.