We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have values in a binding like:
{ "resources": { "some-key": "some-value" }}
and I want to access it like:
name: ($resolved_resources.resources.some-key)
in an assertion, but it does not work.
neither do name: ($resolved_resources.resources[some-key]) or name: ($resolved_resources.resources."some-key")
Any ideas?
v0.1.0
No response
The text was updated successfully, but these errors were encountered:
I think $resolved_resources.resources."some-key" should be the correct syntax.
$resolved_resources.resources."some-key"
Can you post a simple example to reproduce the issue ?
Sorry, something went wrong.
no, it isn't - chainsaw complains about. I switched to providing the values as array and do queries like:
($resolved_resources.resources[?compositionResourceName == 'someresource'].resourceName | [0])
Ok, still if you have a simple example to reproduce i would be interested in seeing if this can be improved.
Closing, not enough info to reproduce.
No branches or pull requests
Describe your question
I have values in a binding like:
and I want to access it like:
name: ($resolved_resources.resources.some-key)
in an assertion, but it does not work.
neither do
name: ($resolved_resources.resources[some-key])
or
name: ($resolved_resources.resources."some-key")
Any ideas?
chainsaw version Version
v0.1.0
Additional context
No response
The text was updated successfully, but these errors were encountered: