Skip to content
New issue

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

Mutation input list type error #1051

Open
jankvapil opened this issue Mar 20, 2024 · 0 comments
Open

Mutation input list type error #1051

jankvapil opened this issue Mar 20, 2024 · 0 comments
Labels
type/bug Something is not working the way it should

Comments

@jankvapil
Copy link

Screenshot

image

Description

Hello, I am stuck with defining mutation input as a list type. Anyway it can be compiled and it works, there is only some type problem

The images error is:

Argument of type 'NexusArgDef<any>' is not assignable to parameter of type 'NexusListableTypes'.

The images2 error is:

Argument of type 'NexusListDef<NexusListableTypes>' is not assignable to parameter of type 'NexusNonNullableTypes'.ts(2345)
Argument of type 'NexusListDef<NexusListableTypes>' is not assignable to parameter of type 'NexusNonNullableTypes'.

Repro Steps/Link

Setup some mutation with this input args

@jankvapil jankvapil added the type/bug Something is not working the way it should label Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something is not working the way it should
Projects
None yet
Development

No branches or pull requests

1 participant