How to set complex properties on a target #2768
Answered
by
waruqi
davidchisnall
asked this question in
Q&A
-
I would like to convey some structured data from a target to a rule. I had hoped that I could write something like:
This doesn't raise an error, but it also doesn't appear to preserve the data. I can set it as a JSON string, but it would be nice if I coudl use a Lua table literal so that I get parse errors early. |
Beta Was this translation helpful? Give feedback.
Answered by
waruqi
Sep 3, 2022
Replies: 1 comment 2 replies
-
please use |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
davidchisnall
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
please use
target:set_values
or set_values() andtarget:values()