Nick
09/21/2018, 7:30 AMgraphql
That you should be able to output the schema as JSON file
Anyone out there that have done something like this with prisma please share this workflow.
Is there such thing as graphql-linting?divyendu
09/21/2018, 8:07 AMNick
09/21/2018, 8:24 AMcreate-react-app
I starting to write my gql tags. Will the linting automatically work here? It shouldn't
I feel maybe they are some pre steps that you got do to make linting work.
Do you have any example of a project where this plugin work as linting for gql. I'm actually reading the readme.md
for this plugin it does not mention how the client know what schema the backend has.
It would be helpful if you had fullstack-project displaying how the plugin works in that enviromentdivyendu
09/21/2018, 8:26 AM.graphqlconfig
is where the linking happens - https://github.com/prisma/vscode-graphql#usageNick
09/21/2018, 9:03 AMdivyendu
09/21/2018, 9:17 AMgql
tag like gql.schema1
. More details here: https://github.com/Microsoft/typescript-template-language-service-decorator/issues/8
Another idea is to make it deterministic via graphql config
But we are open to more ideas!divyendu
09/21/2018, 9:17 AMNick
09/21/2018, 10:45 AMNick
09/22/2018, 2:38 AMdivyendu
09/22/2018, 6:48 AM