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
Describe the issue
I'm trying to find succinct information on decorators that can be used for type-graphql. For example, I see that @Args() can take in one or more arguments--but I couldn't find any information on what these arguments are and what order they should be in.
Is it that I can't find a page on the docs or is this just lacking?
The text was updated successfully, but these errors were encountered:
but I couldn't find any information on what these arguments are and what order they should be in.
Just use "Go to Definition (F12)" or click the verb with CTRL in VSCode - it will show you all the overloads and the signature. It's very simple - ReturnTypeFunc when the reflection can't handle the type and ValidateOptions for class-validator options:
The signatures are really similar for many decorators, so please read the whole documentation website and the examples - it's better than an API reference or raw JSDocs.
Describe the issue
I'm trying to find succinct information on decorators that can be used for type-graphql. For example, I see that
@Args()
can take in one or more arguments--but I couldn't find any information on what these arguments are and what order they should be in.Is it that I can't find a page on the docs or is this just lacking?
The text was updated successfully, but these errors were encountered: