From 7e433ff242b89e6c8994acfa923060ec75eab7a5 Mon Sep 17 00:00:00 2001 From: jycouet Date: Wed, 18 May 2022 17:51:09 +0200 Subject: [PATCH] :children_crossing: IMPROVE: docs --- website/docs/all-in.mdx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/website/docs/all-in.mdx b/website/docs/all-in.mdx index 53e98f46..bb9dfb46 100644 --- a/website/docs/all-in.mdx +++ b/website/docs/all-in.mdx @@ -20,7 +20,11 @@ sidebar_label: Getting started => All-In projects: default: schema: + # If you have the introspection file already here: - ./src/lib/graphql/schema.json + # If not, you can get the schema from the server with some thing like: + # - https://countries.trevorblades.com/graphql + # More options here https://www.graphql-code-generator.com/docs/config-reference/schema-field documents: - '**/*.gql' extensions: @@ -89,7 +93,7 @@ export default config; import { KitQLClient } from '@kitql/client'; export const kitQLClient = new KitQLClient({ - url: `https://countries.trevorblades.com/graphql`, + url: `https://countries.trevorblades.com/graphql`, # Your GraphQL server URL headersContentType: 'application/json', logType: ['client', 'server', 'operationAndvariables'] }); -- 2.51.2