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
Really like the idea of this and really helps with duplicate code for across multiple tables (structs). Could the repository code handle just sue the db entity instead of converting between a domain struct and the db struct?
The text was updated successfully, but these errors were encountered:
Thank you for asking.
Yes, that is possible to do it, although I like to make a cut between domain model and DTO. But, yes, it is possible to do that :)
emmaLP
added a commit
to emmaLP/gorm-generics
that referenced
this issue
Nov 25, 2022
Really like the idea of this and really helps with duplicate code for across multiple tables (structs). Could the repository code handle just sue the db entity instead of converting between a domain struct and the db struct?
The text was updated successfully, but these errors were encountered: