We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The TypeScript definitions for inputObjectType gives false result for default when using it as a list.
inputObjectType
default
export const Bar = inputObjectType({ name: 'Bar', definition(t) { t.string('someField'); }, }); export const getFoo = queryField('getFoo', { type: 'String', args: { bar: arg({ type: 'Bar', list: true, default: [], <<< Error }), }, });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Screenshot
Description
The TypeScript definitions for
inputObjectType
gives false result fordefault
when using it as a list.Repro
The text was updated successfully, but these errors were encountered: