The helper applyProjectionToOneField() in projection_executor_utils validates the field names by default, which is redundant. The validation happens on construction of a FieldPath, here
Since field names with '$' and '.' is allowed, the caller of this helper may pass in valid field names like "a.$b" then fail the validation.
- is duplicated by
-
SERVER-99768 Queries on a timeseries collection with a wildcard index can incorrectly uassert
-
- Closed
-