Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly pass ObjectId to mongoose instead of relying on auto casting #596

Merged
merged 2 commits into from
Nov 30, 2023

Conversation

goto-bus-stop
Copy link
Member

I got invalid data in my local Redis instance and the mongoose auto casting causes an unusable error dump. Casting explicitly ahead of time makes it much clearer.

@coveralls
Copy link

coveralls commented Nov 30, 2023

Coverage Status

coverage: 80.477% (-0.02%) from 80.492%
when pulling 02204de on explicit-object-id
into 4238405 on default.

@goto-bus-stop goto-bus-stop merged commit a93b0a4 into default Nov 30, 2023
16 of 18 checks passed
@goto-bus-stop goto-bus-stop deleted the explicit-object-id branch November 30, 2023 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants