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
Right now we cheat with a Table::db(&self) -> DatabaseOperator helper method.
Maybe each table could store the DatabaseOperator and implement Deref<Target = DatabaseOperator>? That would allow to do something like:
let magnet_operator = category_operator.magnet();
Is that useful? Is that confusing? Is it better to stay explicit with the category_operator.db().magnet() instruction?
Also worth noting that we currently do a lot of cloning which is not really a problem given we don't have many requests, but we maybe could avoid that with some lifetime magic.
Activity
angrynode commentedon May 29, 2026
Solved by #51