chainsaw icon indicating copy to clipboard operation
chainsaw copied to clipboard

How to access key in binding that contains '-'

Open markussiebert opened this issue 9 months ago • 1 comments

Describe your question

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?

chainsaw version Version

v0.1.0

Additional context

No response

markussiebert avatar May 21 '24 09:05 markussiebert