summaryrefslogtreecommitdiff
path: root/lib/api
diff options
context:
space:
mode:
authorcharlie ablett <cablett@gitlab.com>2019-07-09 12:45:23 +0000
committerFatih Acet <acetfatih@gmail.com>2019-07-09 12:45:23 +0000
commit639ab5214cb569dce70080020e3181946e5d3bf1 (patch)
treef5fc02b28a9d16b1139056858e5db7280add7ed9 /lib/api
parent630a8e80501aff46526086e8f2c72bb846780390 (diff)
downloadgitlab-ce-639ab5214cb569dce70080020e3181946e5d3bf1.tar.gz
Remove `:graphql` feature flag
- Remove `FeatureConstrainer` call wrapping api endpoint - Remove `Feature.enabled?(:graphql)` conditionals in back and frontend - Modify graphql test to be graphql flag agnostic - Remove api routing spec - Remove frontend feature flag via `gon`
Diffstat (limited to 'lib/api')
-rw-r--r--lib/api/helpers/graphql_helpers.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/api/helpers/graphql_helpers.rb b/lib/api/helpers/graphql_helpers.rb
index 94010ab1bc2..bd60470fbd6 100644
--- a/lib/api/helpers/graphql_helpers.rb
+++ b/lib/api/helpers/graphql_helpers.rb
@@ -7,8 +7,6 @@ module API
# should be in app/graphql/ or lib/gitlab/graphql/
module GraphqlHelpers
def conditionally_graphql!(fallback:, query:, context: {}, transform: nil)
- return fallback.call unless Feature.enabled?(:graphql)
-
result = GitlabSchema.execute(query, context: context)
if transform