Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2019-05-30 11:50:55 +0300
committerFilipa Lacerda <filipa@gitlab.com>2019-05-30 11:50:55 +0300
commit0e2336442636cdb7f5082b652ff5332d78855e9a (patch)
tree49abd3b4c433052f7a371fbba942d03b157c459a /app/controllers
parent9b3672ec3bc3a47863db5b4a53e73e9afa81e473 (diff)
parentbcf01adaa089f258a7660eff740c9bf2eddfadc8 (diff)
Merge branch 'graphql-batch-requests-ee' into 'master'
Enable GraphQL batch requests See merge request gitlab-org/gitlab-ce!28370
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/graphql_controller.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/graphql_controller.rb b/app/controllers/graphql_controller.rb
index e8f38899647..1ce0afac83b 100644
--- a/app/controllers/graphql_controller.rb
+++ b/app/controllers/graphql_controller.rb
@@ -53,7 +53,8 @@ class GraphqlController < ApplicationController
{
query: single_query_info[:query],
variables: build_variables(single_query_info[:variables]),
- operation_name: single_query_info[:operationName]
+ operation_name: single_query_info[:operationName],
+ context: context
}
end
end