Skip to content

Ben Page Product & Observable Model - Removal of Choice Type Extension#4677

Open
regnosys-prod-user wants to merge 3 commits into
finos:masterfrom
rosetta-models:benja_68bf072695eb9eb85b2ae7e-Choice_extension_removal
Open

Ben Page Product & Observable Model - Removal of Choice Type Extension#4677
regnosys-prod-user wants to merge 3 commits into
finos:masterfrom
rosetta-models:benja_68bf072695eb9eb85b2ae7e-Choice_extension_removal

Conversation

@regnosys-prod-user
Copy link
Copy Markdown
Collaborator

No description provided.

@regnosys-prod-user
Copy link
Copy Markdown
Collaborator Author

regnosys-prod-user commented May 5, 2026

Product & Observable Model - Removal of Choice Type Extension

Background

As part of the DSL 10.0.0 CDM upgrade, legacy syntax validation warnings need to promoted to errors

What is being released?

Changing the following extensions to attributes under the types:

  • BasketConstituent extends Observable.
  • SpecificAsset extends Asset.
  • TransferableProduct extends Asset.

And resolving any code breaks where the attribute now needs to be added

Review Directions

Changes can be reviewed in PR: #4677

Note

This comment was generated via Rosetta.

@regnosys-prod-user regnosys-prod-user requested a review from a team as a code owner May 5, 2026 15:11
@regnosys-prod-user regnosys-prod-user added the Rosetta Pull requests which can be viewed in Rosetta label May 5, 2026
@netlify
Copy link
Copy Markdown

netlify Bot commented May 5, 2026

Deploy Preview for finos-cdm ready!

Name Link
🔨 Latest commit 5c53000
🔍 Latest deploy log https://app.netlify.com/projects/finos-cdm/deploys/6a047ecad04d430008806a26
😎 Deploy Preview https://deploy-preview-4677--finos-cdm.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Comment thread rosetta-source/src/main/rosetta/observable-asset-type.rosetta Outdated
Comment thread rosetta-source/src/main/rosetta/observable-asset-type.rosetta
Comment thread rosetta-source/src/main/rosetta/product-template-type.rosetta Outdated
Comment thread rosetta-source/src/main/rosetta/product-template-type.rosetta
Comment thread rosetta-source/src/main/rosetta/product-qualification-func.rosetta
@regnosys-prod-user
Copy link
Copy Markdown
Collaborator Author

What is being released?

Cardinality problems resolved

Note

This comment was generated via Rosetta.

@regnosys-prod-user regnosys-prod-user added Rosetta Pull requests which can be viewed in Rosetta and removed Rosetta Pull requests which can be viewed in Rosetta labels May 11, 2026
Comment thread rosetta-source/src/main/rosetta/product-collateral-type.rosetta
Comment thread rosetta-source/src/main/rosetta/product-template-type.rosetta Outdated
Basket is absent
observable switch
Basket then is absent,
default empty
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this condition works. When you do a switch statement, it says when you reach basket then it must be absent, but it can't reach basket if it is absent...its a bit confusing. Can you follow up with Simon? I'm not %100 sure myself

I think this may be clearer:

observable switch
            Basket then False,
            default True

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will revert this and cover in the seperate PR

@ReleaseManagement-BP ReleaseManagement-BP linked an issue May 12, 2026 that may be closed by this pull request
@ReleaseManagement-BP ReleaseManagement-BP linked an issue May 13, 2026 that may be closed by this pull request
@ReleaseManagement-BP
Copy link
Copy Markdown
Contributor

ReleaseManagement-BP commented May 13, 2026

Diffs are explainable, as all values are still populated the same, what is happening is now every basket constituent now has an observable attribute underneath it, so is showing as newly populated fields, but because it is an extension that has been removed, it is not showing that fields are missing

Basket fields
image

Output
image

@regnosys-prod-user
Copy link
Copy Markdown
Collaborator Author

What is being released?

Addressed remaining comments

Note

This comment was generated via Rosetta.

@regnosys-prod-user regnosys-prod-user added Rosetta Pull requests which can be viewed in Rosetta and removed Rosetta Pull requests which can be viewed in Rosetta labels May 13, 2026
Copy link
Copy Markdown
Contributor

@Oscar-Twomey Oscar-Twomey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving. @BENP-REGNOSYS please clarify whether the qualification functions will be address in a separate PR?

@Oscar-Twomey
Copy link
Copy Markdown
Contributor

Also, @BENP-REGNOSYS please update the release notes - formatting etc.

@ReleaseManagement-BP ReleaseManagement-BP removed this from the Major Release: 7.0 milestone May 21, 2026
@chrisisla
Copy link
Copy Markdown
Contributor

Changes look good.

There are several references to a further PR to resolve some of the outstanding requirements (jn relation to the Path Operator). Do we have an Issue already created to cover these changes? If so it would be good to reference it here so we can track everything together.

@ReleaseManagement-BP
Copy link
Copy Markdown
Contributor

Thanks @chrisisla, yes the warnings will be addressed in #4637 once DSL 10 has been implemented

@ReleaseManagement-BP
Copy link
Copy Markdown
Contributor

ReleaseManagement-BP commented May 28, 2026

Superseded by #4771

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Rosetta Pull requests which can be viewed in Rosetta

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants