Skip to content

[RFC][goutil] Java style Optional construct #2251

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

Closed
wants to merge 2 commits into from
Closed

Conversation

mikeland73
Copy link
Contributor

Summary

Could be useful. Mostly AI generated.

How was it tested?

@mikeland73
Copy link
Contributor Author

@gcurtis let me know if you have any interest in this. Otherwise, I'll close.

@gcurtis
Copy link
Collaborator

gcurtis commented Sep 6, 2024

@mikeland73 I think I ended up not needing this. I ended up making the new JSON field an enum instead of a bool, which also lets us distinguish between null and the zero value.

@mikeland73 mikeland73 closed this Sep 6, 2024
@mikeland73 mikeland73 deleted the landau/optional branch September 6, 2024 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants