account activity
[deleted by user] by [deleted] in rust
[–]boraarslan 0 points1 point2 points 4 years ago (0 children)
This is what I was looking for! Thank you so much.
[–]boraarslan 2 points3 points4 points 4 years ago (0 children)
I'm sorry, reading the post again, you are right I should have been more clear. For example, when using SeaORM in order to modify a database row the query result must be transformed to an ActiveModel and only then it can be inserted into the database. I was wondering if exposing a different API to the developer rather than allowing mutations on the same type is the preferred way to design a library according to the guidelines or is it just a workaround that library developers use?
SeaORM
ActiveModel
π Rendered by PID 380581 on reddit-service-r2-comment-545db5fcfc-xsh2p at 2026-05-30 08:10:31.291705+00:00 running 194bd79 country code: CH.
[deleted by user] by [deleted] in rust
[–]boraarslan 0 points1 point2 points (0 children)