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
I wonder, since RETURNING support the methods return ActiveModels, wouldn't it be better to just return Models instead ? ActiveModel is better suited for inputs and Model for output, and it would make things more aligned with select. Also it is easy to convert from Model into ActiveModel, but not the other way around
It would also open possibility for convergence with QuerySelect/Select traits, so that we can write:
I wonder, since RETURNING support the methods return ActiveModels, wouldn't it be better to just return Models instead ? ActiveModel is better suited for inputs and Model for output, and it would make things more aligned with select. Also it is easy to convert from Model into ActiveModel, but not the other way around
It would also open possibility for convergence with QuerySelect/Select traits, so that we can write:
Originally posted by @nicoulaj on Discord
The text was updated successfully, but these errors were encountered: