-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
switch
with nested choice
type with metadata does not parse/validate
#878
Comments
See CDM PR were it was introduced (and then reverted with workaround) |
Problem is not directly with the switch, but an error during indexing in the |
Partially addressed by #896. However, the underlying issue of resolving references during derived state computing remains. See stack trace here during Maven build:
|
More specifically, there might still be issues if the argument to the switch operation contains a reference to a symbol outside of the current resource. This however also depends on order of processing of the files, so sometimes it might work, sometimes it will not, so for some edge cases we might see strangeness in the future until the underlying issue is resolved. |
switch
with nestedchoice
type with metadata does not parse/validatewhere:
Note that if the problematic expression is replaced with
item ->> assetClass exists
then it works ok.The text was updated successfully, but these errors were encountered: