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 if we can't find a document, we call back with an error. However, the error doesn't have too much information in it and user has to match against the message error to find out what happened.
Should we do that? In an ORM-ish/database access layer, not finding the document seems like a pretty normal occurrence, could we just return null as the document?
The text was updated successfully, but these errors were encountered:
Right now we if we can't find a document, we call back with an error. However, the error doesn't have too much information in it and user has to match against the message error to find out what happened.
Should we do that? In an ORM-ish/database access layer, not finding the document seems like a pretty normal occurrence, could we just return
null
as the document?The text was updated successfully, but these errors were encountered: