pcah/python-clean-architecture

Data: rename Schema into a Factory

lhaze opened this issue · 0 comments

lhaze commented

Probably a misconception has happened while naming a component which knows how to construct/deconstruct an entity. Domain-­Driven Design Reference names it a Factory. Everybody names it a Factory. A Schema might be an object that knows how to validate data used by a Factory.

Fix this misconception.