jdaugherty commented on PR #16631:
URL: https://github.com/apache/grails-core/pull/16631#issuecomment-6398454890
@jamesfredley, review 5643345657 is addressed in f69625477f, still a single
commit on 9.0.x.
- **`$` key inside `$eq`**: in a condition, the operand of `$eq`, `$ne`,
`$gt`, `$gte`, `$lt`, `$lte`, `$in`, `$nin` and `$all` is now data, so
`{"attrs":{"$eq":{"$example-secret":"value"}}}` records `{"attrs": {"$eq": {?:
?}}}`. In aggregation expressions (`$expr`, the `let` of a command, and stages
such as `$project` and `$group`), the operators of a comparison's operands are
still kept. The listener spec runs your filter and an `$expr` aggregation
against a real mongod and asserts that the key does not reach the file.
- **Same class, also fixed**: keys of `comment`/`$comment` documents, update
constants (`c`), `$jsonSchema`, the `validator` and text-index `weights`
documents, and a `$literal` in a command's `let`.
The thread is resolved with the details.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]