GraphQL parameters and response is not typed? #241
Unanswered
some-user123
asked this question in
Q&A
Replies: 2 comments 4 replies
-
@some-user123 Certainly leads me to believe that the issue here is your IDE. I suggest ensuring that you have the Volar extension installed and configured correctly.
This would only raise an error if
It should all in fact be typed properly. |
Beta Was this translation helpful? Give feedback.
4 replies
-
@Diizzayy webstorm doesn't have any type hints. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'd followed the Quick start and used the SpaceX launches query used as an example.
nuxt-graphql-client
(usingpnpm
)nuxt.config.ts
starlink.gql
:pnpm dev
I stumbled upon two things:
launches
. ✔ But I don't get any hint, which parameters would be available. Even passinglimit = 'foo'
does not raise a type error. Are parameters not typed❓data
is of typeRef<any>
. I would have expected something more elaborated based on the GraphQL definition. Is my expectation wrong or am I doing something wrong❓Beta Was this translation helpful? Give feedback.
All reactions