-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
CSHARP-5450: Verify that all calls to Translate or TranslateEnumerable are correct. #1582
base: main
Are you sure you want to change the base?
Conversation
@@ -32,11 +32,12 @@ public static AggregationExpression Translate(TranslationContext context, Method | |||
{ | |||
var sourceExpression = arguments[0]; | |||
var sourceTranslation = ExpressionToAggregationExpressionTranslator.TranslateEnumerable(context, sourceExpression); | |||
NestedAsQueryableHelper.EnsureQueryableMethodHasNestedAsQueryableSource(expression, sourceTranslation); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@damieng another example of the complications caused by nested AsQueryable in the driver.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops... this is the one place where we do not want to call EnsureQueryableMethodHasNestedAsQueryableSource
I'm looking into why the patch build failed. |
I'm also going to rebase on |
I fixed the failing tests. There are still some open questions:
|
No description provided.