From 639ab5214cb569dce70080020e3181946e5d3bf1 Mon Sep 17 00:00:00 2001 From: charlie ablett Date: Tue, 9 Jul 2019 12:45:23 +0000 Subject: 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` --- lib/api/helpers/graphql_helpers.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/api/helpers/graphql_helpers.rb') 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 -- cgit v1.2.1