How do I create an optional bool flag? #1429
-
I am using nullable reference types if that matters. I want a flag called The following gives an error:
The user should not be forced to provide |
Beta Was this translation helpful? Give feedback.
Answered by
VictorioBerra
Jan 8, 2024
Replies: 1 comment
-
My understanding of this is now cleared up via #270 (reply in thread) In my example above, I can remove |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
VictorioBerra
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My understanding of this is now cleared up via #270 (reply in thread)
In my example above, I can remove
[OPTIONAL_VALUE]
as[CommandOption]
are all optional technically. This is not fully desired, but I at least understand the issue now.