-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Cannot reuse ProjectionOperation inside $lookup pipeline [DATAMONGO-2615] #3469
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
Labels
Comments
Daniel Theuke commented I can bypass the error if I invoke the nested element with However the |
This feature is really necessary for the performance of query. Its works for me. But it must be in this package.
|
related to #3917 |
will be fixed by #4328 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Daniel Theuke opened DATAMONGO-2615 and commented
If I try to use a
ProjectionOperation
withandExpression("$foo.bar")
inside a custom $lookup document I get the following error:Code:
In this case the
continueOnMissingFieldReference()
doesn't seem to work at all.(
ExposedFieldsAggregationOperationContext
doesn't implement that feature at all)The default implementation should probably be rewritten to return a delegating variant that wraps the related call similar to
RelaxedTypeBasedAggregationOperationContext
.Or is there another way to create a nested context?
Affects: 3.0.3 (Neumann SR3)
The text was updated successfully, but these errors were encountered: