Skip to content

how to use generated args #67

Answered by MichalLytek
cancng asked this question in Q&A
Discussion options

You must be logged in to vote

Args are args, not inputs, so you can't use @InputType but only @ArgsType:

@ArgsType()
class MyArgs extends FindManyUserArgs {
  @Field()
  someField!: string;
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cancng
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants