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
{{ message }}
This repository was archived by the owner on Aug 6, 2026. It is now read-only.
It would be nice if the repositories could load a schema to understand the relationship between entities.
In this schema we could define the following relationships:
One to one
One to many
Many to many
In a way that when we .get an object we get the option to load the mappers, and if they are, the repo will get the required objects and load them in the specified attribute.
Possible Solution
At repo initialization, a schema attribute is set with the desired relationships.
Then we will need to decide how it affects the different base methods.
Description
It would be nice if the repositories could load a schema to understand the relationship between entities.
In this schema we could define the following relationships:
In a way that when we
.getan object we get the option to load the mappers, and if they are, the repo will get the required objects and load them in the specified attribute.Possible Solution
At repo initialization, a
schemaattribute is set with the desired relationships.Then we will need to decide how it affects the different base methods.
Additional context
Related Issue