Closed PhilippeGalvan closed 3 years ago
Following recent updates I suggest the following changes:
Refactor some expressions Update validation Enforce strict int validation as explained in:
https://pydantic-docs.helpmanual.io/usage/models/\#data-conversion
Separate immutable 'object_values' from mutable 'entities' (see: https://medium.com/inato/an-introduction-to-domain-driven-design-386754392465 for a quick insight into Domain Driven Design which encapsulate the concepts of object values and entities). Apply some linting
Fix dead link for pydantic data conversion: https://pydantic-docs.helpmanual.io/usage/models/#data-conversion
Following recent updates I suggest the following changes:
Refactor some expressions Update validation Enforce strict int validation as explained in:
https://pydantic-docs.helpmanual.io/usage/models/\#data-conversion
Separate immutable 'object_values' from mutable 'entities' (see: https://medium.com/inato/an-introduction-to-domain-driven-design-386754392465 for a quick insight into Domain Driven Design which encapsulate the concepts of object values and entities). Apply some linting