How can I parse flag to []any type? #358
Unanswered
artemklevtsov
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Kong doesn't support this. To do so it would have to use some kind of heuristics to detect what the input type was and parse it. For example, given the input |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi.
I tried to use the
[]any
flag but got error:Now I can parse
[]string
,[]int
etc.Code to reproduce:
Work now with:
My final target is passing arguments to the
pgx.Query
which requires[]any...
. If I use[]string
all args will be quoted.Beta Was this translation helpful? Give feedback.
All reactions