Skip to content

Conversation

@christophstrobl
Copy link
Member

We now render field and local variable references correctly when using the $filter aggregation operator.
Prior to this commit field references had been rendered with an additional $ prefix.

We now render field and local variable references correctly when using the $filter aggregation operator.
Prior to this commit field references had been rendered with an additional $ prefix.
return new ExpressionFieldReference(delegate.getReference(field));

FieldReference reference = delegate.getReference(field);
return !isInnerVariableReference(field) ? reference : new ExpressionFieldReference(delegate.getReference(field)) ;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe new ExpressionFieldReference(reference) ; ?

mp911de pushed a commit that referenced this pull request Aug 2, 2019
We now render field and local variable references correctly when using the $filter aggregation operator.
Prior to this commit field references had been rendered with an additional $ prefix.

Original pull request: #776.
mp911de pushed a commit that referenced this pull request Aug 2, 2019
mp911de added a commit that referenced this pull request Aug 2, 2019
Use for-loops instead of Stream API and Collectors. Reformat code. Invert condition for smoother readability.

Original pull request: #776.
mp911de pushed a commit that referenced this pull request Aug 2, 2019
We now render field and local variable references correctly when using the $filter aggregation operator.
Prior to this commit field references had been rendered with an additional $ prefix.

Original pull request: #776.
mp911de pushed a commit that referenced this pull request Aug 2, 2019
mp911de added a commit that referenced this pull request Aug 2, 2019
Use for-loops instead of Stream API and Collectors. Reformat code. Invert condition for smoother readability.

Original pull request: #776.
@mp911de
Copy link
Member

mp911de commented Aug 2, 2019

That's merged and backported now.

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