Skip to content

query: case has effect in nested expressions#1022

Open
keegancsmith wants to merge 1 commit intomainfrom
k/parser
Open

query: case has effect in nested expressions#1022
keegancsmith wants to merge 1 commit intomainfrom
k/parser

Conversation

@keegancsmith
Copy link
Member

Previously only the "top-level" "case:" affected the query. So if you had a "case" in any sub expression it would have no effect. This adjusts our implementation to track nested cases in our query parser and allow them to affect the final case sensitivity on query.Qs.

Test Plan: added more test cases to demonstrate the problem. These failed before this commit.

Fixes #548

Previously only the "top-level" "case:" affected the query. So if you
had a "case" in any sub expression it would have no effect. This adjusts
our implementation to track nested cases in our query parser and allow
them to affect the final case sensitivity on query.Qs.

Test Plan: added more test cases to demonstrate the problem. These
failed before this commit.
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.

case: does not have any effect within nested expressions

1 participant