finos/rune-dsl

`only-exists` results in a syntax error when applying it to a function call

Opened this issue · 1 comments

This results in a syntax error:

EconomicTermsForProduct(product) -> payout -> commodityPayout only exists

A workaround:

product extract EconomicTermsForProduct -> payout -> commodityPayout only exists

This fails for other non-simple path expressions as well, e.g.,

underlier ->> economicTerms -> payout -> interestRatePayout only exists