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
Sometimes we need the DB object to do more complex work in Bind or Render... what is the suggested way to do this (putting db in context feels wrong), or is it a smell?
The text was updated successfully, but these errors were encountered:
DO not use db object to bind or render directly.
Most of the times in response you need to skip some data or add some new data. When binding you also usually bind a lot less that's in your db object, so it's the same.
Sometimes we need the DB object to do more complex work in Bind or Render... what is the suggested way to do this (putting db in context feels wrong), or is it a smell?
The text was updated successfully, but these errors were encountered: