-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Allow complex boolean expressions in projection #4266
Conversation
public override void Select_ternary_operation_with_has_value_not_null() | ||
{ | ||
// TODO: Optimize this query | ||
base.Select_ternary_operation_with_has_value_not_null(); |
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.
filed #4267
Will also write it in comment.
1614f93
to
3da7993
Compare
var test = Visit(node.Test); | ||
_insideConditionalTest = false; |
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.
Does it matter if we re-enter here via nested conditionals?
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.
Case block inside When
part (node.Test
) is not supported. There can be nested conditionals inside IfTrue
& IfFalse
but not inside Test
. So we do not enter VisitConditional while _insideConditionalTest
is true.
Also added test for nested conditionals.
3da7993
to
a428217
Compare
Updated |
a428217
to
f1dd1ba
Compare
Apply nullsemantics to projection
f1dd1ba
to
16dc210
Compare
resolves #2450
Removed all
context.Database.EnsureCreated/Deleted
fromSeed
method. All fixtures call Seed method after dropping/creating database.