ion-cli icon indicating copy to clipboard operation
ion-cli copied to clipboard

Add null support in generated code for Java

Open desaikd opened this issue 1 year ago • 0 comments

If you use Boolean instead of boolean, then this could be initialized to null. Similarly for int/Integer and double/Double.

However, if it's not an optional field, then we're better off using the primitive types to avoid the overhead of the boxed types.

desaikd avatar Apr 18 '24 22:04 desaikd