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

Struct support Optional or null? #7230

Closed
truher opened this issue Oct 18, 2024 · 4 comments
Closed

Struct support Optional or null? #7230

truher opened this issue Oct 18, 2024 · 4 comments

Comments

@truher
Copy link
Contributor

truher commented Oct 18, 2024

it looks like the Struct idea doesn't support missing values, is that right?

it would be cool if it did.

:-)

@PeterJohnson
Copy link
Member

It does not. You could create an "Optional" struct type that contained a boolean and a value.

@truher
Copy link
Contributor Author

truher commented Oct 18, 2024

ow ow ow

@SuppressWarnings("unchecked")

@truher
Copy link
Contributor Author

truher commented Oct 18, 2024

man this would be a lot easier if Struct were implemented by the data objects themselves.

@truher
Copy link
Contributor Author

truher commented Oct 18, 2024

anyway i'm just complaining, sorry

@truher truher closed this as completed Oct 18, 2024
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

No branches or pull requests

2 participants