Closed victorkardel closed 8 months ago
The scope of this library is to generate the default args As you did here:
...findManyField.args
Extra args must follow the Pothos specification: https://pothos-graphql.dev/docs/guide/args
The following line seems to be wrong:
type: [Inputs.ContentOrderByWithRelationInput | 'String'],
You probably need to create a custom input type to handle your case.
Thanks! I thought that maybe have an easy way to extend orderBy default args, and only add a new one! But thanks! Will try other way's!
I'm trying to do something like that:
But the types turn into wrong.