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

fix(debug): avoid printing trusted symbol in debug output #15267

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vkarpov15
Copy link
Collaborator

Re: #15263

Summary

Right now trustedSymbol shows up in debug output, which can be extra confusing when debugging populate issues because populate adds trusted symbol by default:

Mongoose: groups.find({ key: { '$in': [ ObjectId("67b887650fca90b537952220"), ObjectId("67b887650fca90b537952224") ], [Symbol(mongoose#trustedSymbol)]: true }}, { skip: undefined, limit: undefined, perDocumentLimit: undefined })

This PR removes trustedSymbol from debug output.

Examples

@vkarpov15 vkarpov15 added this to the 8.10.2 milestone Feb 21, 2025
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.

2 participants