7.0.0-dev.108
CDM Modelling - Fixing syntax warnings in [7dev]
Background
Fix the following errors in CDM
- Cardinality warnings should be errors.
- Override keyword should be mandatory when overriding attributes.
- Cardinality mismatch between rule reference and attribute should be an error.
- CheckAnnotationSource (duplicate types) in RosettaSimpleValidator.
- Mandatory [metadata key] on types that are referenced.
What is being released?
- Fixing cardinality warnings across CDM 7 dev namespaces.
- Removing unused imports accross CDM 7 dev namespaces.
ExerciseInstruction: AttributeexecriseOptionchanged to take typePayoutfromOptionPayout. As part of CDM upgrade, themetadata keyon individual removed and instead referenced on thePayoutchoice type. Change required to fix a error OptionPayout must be annotated with [metadata key].Create_Exercisefunction also updated to adhere to these changesFinalCalulationPeriodDateAdjustment: AttributeswapSteamReferencechanged to take typePayoutfromInterestRatePayout. Same rational as above.
Review Directions
Changes can be reviewed in PR: #4691