Jsonata use of $each($, function)
doesn't seem to work
#34740
Unanswered
wmcnamee-coreweave
asked this question in
Request Help
Replies: 1 comment
-
Renovate appears to be up-to-date with jsonata: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How are you running Renovate?
Self-hosted Renovate
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
Github, 39.193.5
Please tell us more about your question or problem
not entirely sure if renovate is using an old version of jsonata or not... I have a file, looks like this:
image-versions.yaml
and a single customManager in my
renovate.json5
:but renovate doesn't like it, and I get an error:
Argument 1 of function \"each\" does not match function signature
try.jsonata.org thinks my query is fine: https://try.jsonata.org/ZHIRcvjXR
if I change the shape of the data to:
and replace
$
(arg1 in$each
) withimages
, then renovate is fine (as well as try.jsonata.org)https://try.jsonata.org/CEta-0WxL
https://docs.jsonata.org/simple#top-level-arrays-nested-arrays-and-array-flattening
this seems to indicate that
$
refers to the "top-level" object/array.Given that try.jsonata.org seems to be OK with the original query seems to indicate that there's something wrong with Renovate or it's use of Jsonata.
Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions