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 support for boolean in getOrDefault/getOrNull #222

Merged
merged 1 commit into from
May 6, 2023

Conversation

SoSeDiK
Copy link
Contributor

@SoSeDiK SoSeDiK commented May 6, 2023

Somehow missed it initially

@what-the-diff
Copy link

what-the-diff bot commented May 6, 2023

PR Summary

  • Added support for Boolean, Enum, and UUID
    The pull request adds support for these three data types, which increases the flexibility and usability of the code.

  • Updated return type for getOrDefault() method
    The return type of the getOrDefault() method has been changed to be more specific (T instead of Object). This improves type safety and helps catch errors at compile time.

@tr7zw tr7zw merged commit 5759b68 into tr7zw:master May 6, 2023
@SoSeDiK SoSeDiK deleted the bool branch September 4, 2023 11:08
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