Skip to content
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

Add null equality to EQ JPA expression visitor #24

Merged
merged 2 commits into from
Nov 18, 2022

Conversation

tinawu0603
Copy link

1. Issue Link:
#23

2. Brief explanation of a change:
Instead of assuming all values of eq to use criteriaBuilder.equal, if the value is null, we want to use criteriaBuilder.isNull instead to create the right specification.

3. Will it break existing clients and code in production?
No

@tinawu0603
Copy link
Author

@jaiswalsk would you be able to review this PR?

@jaiswalsk
Copy link
Contributor

Thank you @tinawu0603 for the pull request. I will review this and share my feedback soon! Thanks.

@tinawu0603
Copy link
Author

@jaiswalsk Do you have an update for this PR? 🙏

pom.xml Outdated
@@ -6,7 +6,7 @@

<groupId>com.intuit.graphql</groupId>
<artifactId>graphql-filter-java</artifactId>
<version>1.0.0-SNAPSHOT</version>
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you please revert this changes, as it will be taken care during the release process.

Copy link
Author

Choose a reason for hiding this comment

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

Just reverted, thank you!

Copy link
Contributor

@jaiswalsk jaiswalsk left a comment

Choose a reason for hiding this comment

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

Looks good. Thank you!

@jaiswalsk jaiswalsk merged commit 52d7a07 into intuit:master Nov 18, 2022
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.

2 participants