adding array to request header in rhai script #2631
Unanswered
killjoy2013
asked this question in
Q&A
Replies: 2 comments 2 replies
-
If You can do some verification that things are as you expect by following this example:
If you verify that you are setting an array and the header definitely contains an array of values, then maybe the issue is not in the router, but in how the |
Beta Was this translation helpful? Give feedback.
0 replies
-
printing like this;
output is;
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a rights claim in my token. array of strings. Trying to add it to request header like this in rhai script;
in the subgraph, when I get the rights from
GqlExecutionContext
like this;getting rights as string.
Can I add the array differently in rhai script to get it as string array?
Beta Was this translation helpful? Give feedback.
All reactions