From 1c6e962776519ebd00c1d46b18c009eea785fa37 Mon Sep 17 00:00:00 2001 From: Rikin Kachhia Date: Tue, 2 Apr 2019 16:44:02 +0530 Subject: [PATCH] remove remote schema env var note (#1932) --- .../Services/CustomResolver/Add/addResolverReducer.js | 2 +- docs/graphql/manual/remote-schemas/index.rst | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/console/src/components/Services/CustomResolver/Add/addResolverReducer.js b/console/src/components/Services/CustomResolver/Add/addResolverReducer.js index d290aee6a02..c8444759e42 100644 --- a/console/src/components/Services/CustomResolver/Add/addResolverReducer.js +++ b/console/src/components/Services/CustomResolver/Add/addResolverReducer.js @@ -192,7 +192,7 @@ const addResolver = () => { const requestMsg = 'Adding remote schema...'; const successMsg = 'Remote schema added successfully'; - const errorMsg = 'Adding schema failed'; + const errorMsg = 'Adding remote schema failed'; const customOnSuccess = data => { Promise.all([ diff --git a/docs/graphql/manual/remote-schemas/index.rst b/docs/graphql/manual/remote-schemas/index.rst index fb024f79e7b..8adfe98f6d4 100644 --- a/docs/graphql/manual/remote-schemas/index.rst +++ b/docs/graphql/manual/remote-schemas/index.rst @@ -78,11 +78,9 @@ You need to enter the following information: .. note:: - - Currently there is no validation that an environment variable is actually available at the time - of this configuration, so any errors in this configuration will result in a runtime error. - - During **local development** using docker and a localhost server, ensure the Hasura docker container can reach - the server endpoint on the host. i.e. use ``host.docker.internal`` on mac or ``docker.for.win.localhost`` on - windows. + During **local development** using docker and a localhost server, ensure the Hasura docker container can reach + the server endpoint on the host. i.e. use ``host.docker.internal`` on mac or ``docker.for.win.localhost`` on + windows. - **Headers**: configure the headers to be sent to your custom GraphQL server.