From 2da145a18469383b0fbdceed26320841061f625f Mon Sep 17 00:00:00 2001 From: Copple <10214025+kiwicopple@users.noreply.github.com> Date: Tue, 29 Mar 2022 16:33:20 +0200 Subject: [PATCH] Adds a note to reload the schema --- web/docs/guides/api.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/web/docs/guides/api.mdx b/web/docs/guides/api.mdx index 848bf23fee3..8faedf6a8d1 100644 --- a/web/docs/guides/api.mdx +++ b/web/docs/guides/api.mdx @@ -238,6 +238,12 @@ JS Reference: [select()](/docs/reference/javascript/select), ### GraphQL API +:::note + +While pg_graphql is in beta, we have disabled GraphQL auto-refreshing. If you want to refresh your GraphQL introspection, call `select graphql.rebuild_schema();` to rebuild your GraphQL schema. + +::: + You can use any GraphQL client with the Supabase GraphQL API. For our GraphQL example we will use [urlql](https://formidable.com/open-source/urql/docs/).