Skip to content

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
@vkarpov15 vkarpov15 merged commit 384b8e8 into master Feb 23, 2025
75 checks passed
@hasezoey hasezoey deleted the vkarpov15/gh-15263 branch February 24, 2025 08:42
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.

3 participants