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

feat(shell-api): throw for EJSON.serialize(cursor) MONGOSH-2002 #2370

Merged
merged 5 commits into from
Feb 17, 2025

Conversation

alenakhineika
Copy link
Contributor

Throw a custom exception when a user attempts to serialize a cursor, pointing them to the fact that they likely want to call .toArray() first.

@alenakhineika alenakhineika marked this pull request as ready for review February 17, 2025 11:18
@alenakhineika alenakhineika merged commit 02419fe into main Feb 17, 2025
132 of 135 checks passed
@alenakhineika alenakhineika deleted the MONGOSH-2002-throw-toarray-suggestion branch February 17, 2025 19:50
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