Closed Zetazzz closed 1 month ago
The current nullability of scalar types is default to required. This's controversial.
So a flag 'isScalarDefaultToNullable' is needed:
when isScalarDefaultToNullable is false(default), scalar types will be required if (gogoproto.nullable) is not set.
when isScalarDefaultToNullable is true, scalar types will be nullable if (gogoproto.nullable) is not set.
The current nullability of scalar types is default to required. This's controversial.
So a flag 'isScalarDefaultToNullable' is needed:
when isScalarDefaultToNullable is false(default), scalar types will be required if (gogoproto.nullable) is not set.
when isScalarDefaultToNullable is true, scalar types will be nullable if (gogoproto.nullable) is not set.