Closed ivan-kleshnin closed 9 years ago
Independent.
JS types
Depends on type.
Depends on validator.
This violates the Single Responsibility principle.
Depends on model.
JS types (Tcomb types) + Custom types
Consequences:
User
:+1:
Implemented.
Current concepts
type
Independent.
JS types
validator
Depends on type.
model
Depends on validator.
This violates the Single Responsibility principle.
maker
Depends on model.
Proposed concepts
type
Independent.
JS types (Tcomb types) + Custom types
parser
Independent.
maker
Depends on model.