From a166f8d283d5bde63b0123eca71c821cb905f215 Mon Sep 17 00:00:00 2001 From: Anne Ogborn Date: Thu, 21 Feb 2019 10:07:31 +0530 Subject: [PATCH 1/2] added subscriptions-transport-ws to list of dependencies needed for apollo --- .../graphql/manual/guides/integrations/apollo-subscriptions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/graphql/manual/guides/integrations/apollo-subscriptions.rst b/docs/graphql/manual/guides/integrations/apollo-subscriptions.rst index bdd61da5f5c7a..1494bb74c927c 100644 --- a/docs/graphql/manual/guides/integrations/apollo-subscriptions.rst +++ b/docs/graphql/manual/guides/integrations/apollo-subscriptions.rst @@ -16,7 +16,7 @@ Install packages .. code-block:: bash - npm install --save apollo-client apollo-link-ws apollo-link-http apollo-link apollo-utilities apollo-cache-inmemory + npm install --save apollo-client apollo-link-ws apollo-link-http apollo-link apollo-utilities apollo-cache-inmemory subscriptions-transport-ws Once these packages are installed, import them as follows in the file where you have currently initialised your client (usually your ``App.js`` file). From f2f6ea872c17a22e3ec294c628643c0019885ae9 Mon Sep 17 00:00:00 2001 From: Anne Ogborn Date: Tue, 2 Jul 2019 15:43:59 +0530 Subject: [PATCH 2/2] change default placeHolder to type to fix2394 --- console/src/components/Services/Data/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/console/src/components/Services/Data/utils.js b/console/src/components/Services/Data/utils.js index 05b9209ee2ab4..c9caa3e4b93c2 100644 --- a/console/src/components/Services/Data/utils.js +++ b/console/src/components/Services/Data/utils.js @@ -37,7 +37,7 @@ export const getPlaceholder = type => { case BOOLEAN: return ''; default: - return 'text'; + return type; } };