Closed chgeo closed 2 months ago
by evaluating CSN's notNull property.
Has this property been present all along or does it require a certain version of @sap/cds
, the compiler, or any other related lib?
Has this property been present all along or does it require a certain version of
@sap/cds
, the compiler, or any other related lib?
Has been there for a long time.
Replace the use of
@Core.OptionalParameter
for optional parameters (which was an intermediate solution anyways) by evaluating CSN'snotNull
property. This is in line with the decision in the CDS spec meeting and with what RFC importer now generates.Note that this formally inverses the default for optional parameters:
notNull
(ornot null
in CDL).