You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation of DataBlobs is tightly coupled with the Entity class, making it challenging to use ProtoEntities within Factories for building entities. This architectural decision restricts the flexibility of our entity creation and validation process.
Scope:
Entity Class
DataBlobs
Factories
ProtoEntities
Impact:
Limits the effectiveness of ProtoEntities as a way to build or manipulate entities before adding them to the manager.
Inhibits the use of centralized validation or factory methods for creating entities, potentially leading to inconsistent or invalid entities.
Expected Behavior:
Factories should be able to use ProtoEntities to construct new entities without any dependencies on the Entity class. This would make it easier to perform centralized validation and transformations during entity creation.
Steps to Reproduce:
Try to create an entity using a Factory that leverages ProtoEntities.
Observe that the Factory cannot proceed without involving the Entity class due to the tight coupling with DataBlobs.
Suggested Solutions:
Refactor DataBlobs to be more decoupled from the Entity class.
Introduce an interface or abstract base class that both Entity and ProtoEntities can implement, making it easier to interchange them in Factories.
Acceptance Criteria:
Factories can create entities using ProtoEntities.
DataBlobs can exist independently of the Entity class.
Additional Information:
This is blocking Factory Refactor in issue #376 and therefore also Entity DataBlob Validation in issue #375
The text was updated successfully, but these errors were encountered:
Problem:
The current implementation of DataBlobs is tightly coupled with the Entity class, making it challenging to use ProtoEntities within Factories for building entities. This architectural decision restricts the flexibility of our entity creation and validation process.
Scope:
Impact:
Expected Behavior:
Factories should be able to use ProtoEntities to construct new entities without any dependencies on the Entity class. This would make it easier to perform centralized validation and transformations during entity creation.
Steps to Reproduce:
Suggested Solutions:
Acceptance Criteria:
Additional Information:
This is blocking Factory Refactor in issue #376 and therefore also Entity DataBlob Validation in issue #375
The text was updated successfully, but these errors were encountered: