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
Not sure if this is planned in some future release, but let me explain my idea.
Usually when I set up my projects the database Entity classes (database module) and the Domain classes (repo module) don't have direct to each other so there is no way for me to annotate the classes with @copy. The way I copy objects is that I write mappers in my datasource layer which has dependency to both database and repositories. This is how I map my objects in a datasource:
fun UserEntity.toUserModel() = UserModel(
id = id,
)
Is there a way to do that with this library, or is it planned to support something similar?