You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do we have a simple way to define a simple array of scalars in the input handler?
Here is an example of laravel rebing/graphql query arguments.
I have an argument named ids that is an array of ids
I can easily define an array input without creating a custom input type.
public function args(): array
{
return [
'ids' => [
'type' => Type::listOf(Type::int()),
],
Activity
drmax24 commentedon Jan 23, 2023
It kinda works. But how to make ids argument to be optional?
ids is not optional in graphql schema