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

Handle object ids nested in query documents #311

Closed
tsegismont opened this issue Nov 8, 2023 · 1 comment
Closed

Handle object ids nested in query documents #311

tsegismont opened this issue Nov 8, 2023 · 1 comment
Assignees
Milestone

Comments

@tsegismont
Copy link
Contributor

Backport of PR #309 provided by @liuchong

Motivation:

If we give a query when "_id" field in a nested value like:

{
   "$and":[
      {
         "_id":"an-id-field"
      },
      {
         "some":"other"
      }
   ]
}

then, the nested "_id" will not be encoded.
I added a deep version of this method for handling this, we should only need this in query or filter.

@tsegismont tsegismont added this to the 4.5.0 milestone Nov 8, 2023
@tsegismont tsegismont self-assigned this Nov 8, 2023
@tsegismont
Copy link
Contributor Author

Closed by c65c858

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant