Hi, I’m Mohsen ZareZardeyni, and I’m a software engineer at Sigma Telecom LLC.
At Sigma, for developing our back office application, we decided to...
For further actions, you may consider blocking this person and/or reporting abuse
What advantages has using
.graphql
extension?Taken from the docs:
This link is about wepback with client
Ah right, didn't pay attention since I use it client-side. So only second point might apply in a server environment.
Thanks, clear & concise!
Also had to add
"allowSyntheticDefaultImports": true
to mytsconfig.json
.Hey, nice tutorial. FYI, your first 2 gists should be interchanged.
tsconfig.json
should be first &graphql.d.ts
should be second :)Thanks:)
Thanks for the tutorial, this helped me import graphql files to use with apollo server :)
I tried it, and it worked, but in vscode i do not get the benefit of auto import of the gql files. When i try to use the query file, i have no auto complete for it.