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
When we use the findOne method, and the item is not found on the server, it responds with a DocumentNotFoundError even though we have set the enforceRefCheck property to true . This property is intended to enforce reference checks, but it seems ignored.
We found in your source code that you just checked the length of response data, and you ignored the enforceRefCheck property,
My first question is, Why do you ignore enforceRefCheck ?
And, How can we ignore this error in the2.4.0 version ?
We don't need to throw an error when a document is not found on the server.
The text was updated successfully, but these errors were encountered:
We use
Ottoman
as an ORM in our project,When we use the
findOne
method, and the item is not found on the server, it responds with aDocumentNotFoundError
even though we have set theenforceRefCheck
property to true . This property is intended to enforce reference checks, but it seems ignored.We found in your source code that you just checked the length of response data, and you ignored the
enforceRefCheck
property,My first question is, Why do you ignore
enforceRefCheck
?And, How can we ignore this error in the
2.4.0
version ?We don't need to throw an error when a document is not found on the server.
The text was updated successfully, but these errors were encountered: