Open JBZ-Fragmos opened 3 months ago
A couple of points:
Not sure I understand why this syntax doesn't work?
This is probably a proposal to change the Rune DSL, rather than the CDM, and therefore should be in that project, ie https://github.com/finos/rune-dsl/issues. That project is also open source.
thanks for the feedback @Oblongs
in regards of your two points :
Background
When an attribute is of type string, there is currently no way to force specific content for it.
Business Need is mostly situated in CDM spaces which relate to the modeling of
example A
example B the type Clause is actually made of string attributes nested within each other
example C quoted from Fragmos WS designed on behalf of Structured Product WG
Proposal
Create a new operator in Rosetta for specifying a condition according to which an attribute of type string must have a particular content. This means the value of the string is fixed by the condition.
Illustration
say there is particular context for which type Multiplier below which include an attribute named bespokeName of type string
say this Multiplier is used in a path, whatever it is, we may illustrate situation in generic manner e.g. "object -> multiplier -> [...] -> object"
say we want bespokeName string value of Multiplier to be forced as [Bonus Lever] in this particular path
then would attach the condition below to the parent object of which multiplier is an attribute :