Closed ikfir closed 1 month ago
An example
@SubCommand("<?string>") public void example(Optional<String> optStr) { // Do something }
it also can just give you a null
null
@SubCommand("<?string>") public void example(String str) { // String could be null // Do something }
We have a few edge cases
Should we make it dynamic by given multiple way to request optional or just include both cases?
An example
it also can just give you a
null
We have a few edge cases
null
or skipnull
or skipShould we make it dynamic by given multiple way to request optional or just include both cases?