Accept array by argument #1074
lucasantoniooficial
started this conversation in
General
Replies: 1 comment
-
I'm not sure what you're asking for, but when defining public function args(): array
{
return [
'ids' => [
'type' => Type::nonNull(Type::listOf(Type::nonNull(Type::id()))),
],
];
} If you mean something else, you've to be more specific. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Have you already sent an array using the arguments?
I need to do this, I consume GraphQL in NextJS using axios.
Beta Was this translation helpful? Give feedback.
All reactions