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

Reverse null-check branch order in Optional operations #2970

Merged
merged 4 commits into from Dec 10, 2023

Conversation

deusaquilus
Copy link
Collaborator

@deusaquilus deusaquilus commented Dec 10, 2023

Fixes #2052

  • Make IS NULL check come after the 1st one in Option.forAll, Option.exists, etc...
  • Minor formatting change
  • Remove quill-jdbc-test-sqlite/quill_test.db which should never have been checked in
  • Unit test all changes
  • Update README.md if applicable
  • Add [WIP] to the pull request title if it's work in progress
  • Squash commits that aren't meaningful changes
  • Run sbt scalariformFormat test:scalariformFormat to make sure that the source files are formatted

@getquill/maintainers

@deusaquilus deusaquilus enabled auto-merge (squash) December 10, 2023 07:46
@deusaquilus deusaquilus merged commit dd028a7 into master Dec 10, 2023
13 checks passed
@deusaquilus deusaquilus deleted the null-branch-order branch December 10, 2023 07:49
guizmaii added a commit to zio/zio-protoquill that referenced this pull request Mar 15, 2024
guizmaii added a commit to zio/zio-protoquill that referenced this pull request Mar 15, 2024
guizmaii added a commit to zio/zio-protoquill that referenced this pull request Mar 15, 2024
guizmaii added a commit to zio/zio-protoquill that referenced this pull request Mar 15, 2024
* Update Scala and dependencies

* Fix tests

See zio/zio-quill#2970
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.

Need to reverse order of null check and equality check when using == with Options
1 participant