-
Notifications
You must be signed in to change notification settings - Fork 194
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
fix: Invert case_sensitive
logic in StructType
#1147
Conversation
case_sensitive
logic in StructType
Hello @AnthonyLam, thank you for your contribution. Could you add a test to ensure the expected behavior? |
For sure! I've added a test in |
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.
great catch! thanks for the contribution
Hi @AnthonyLam thank you for working on this PR and @ndrluis , @kevinjqliu thank you for the review! I've triggered the CI, and it looks like there's a few issues with the test. Once those are resolved, I'm happy to do another round of review |
* fix: Invert logic in StructType * Add test for StructType.field_by_name * Remove var I forgot about. * Fix formatting post-lint
* fix: Invert logic in StructType * Add test for StructType.field_by_name * Remove var I forgot about. * Fix formatting post-lint
The
field_by_name
method inStructType
seems to have inverted logic on thecase_sensitive
parameter.