From 9e30c7b44087925a29219bab554f365edc16b997 Mon Sep 17 00:00:00 2001 From: Anoop M D Date: Thu, 23 Feb 2023 11:42:25 +0530 Subject: [PATCH] feat: vars and asserts in gql request UI --- .../RequestPane/GraphQLRequestPane/index.js | 16 +++++++++++++++- packages/bruno-electron/package.json | 2 +- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/packages/bruno-app/src/components/RequestPane/GraphQLRequestPane/index.js b/packages/bruno-app/src/components/RequestPane/GraphQLRequestPane/index.js index 1ad4f994a..bb4ae78b0 100644 --- a/packages/bruno-app/src/components/RequestPane/GraphQLRequestPane/index.js +++ b/packages/bruno-app/src/components/RequestPane/GraphQLRequestPane/index.js @@ -8,6 +8,8 @@ import { updateRequestPaneTab } from 'providers/ReduxStore/slices/tabs'; import QueryEditor from 'components/RequestPane/QueryEditor'; import GraphQLVariables from 'components/RequestPane/GraphQLVariables'; import RequestHeaders from 'components/RequestPane/RequestHeaders'; +import Vars from 'components/RequestPane/Vars'; +import Assertions from 'components/RequestPane/Assertions'; import Script from 'components/RequestPane/Script'; import Tests from 'components/RequestPane/Tests'; import { useTheme } from 'providers/Theme'; @@ -91,6 +93,12 @@ const GraphQLRequestPane = ({ item, collection, leftPaneWidth, onSchemaLoad, tog case 'headers': { return ; } + case 'vars': { + return ; + } + case 'assert': { + return ; + } case 'script': { return