diff options
author | Douwe Maan <douwe@gitlab.com> | 2019-03-04 12:17:37 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2019-03-04 12:17:37 +0000 |
commit | f8b1ef924e3b405cd72468fce236eb456a9a501d (patch) | |
tree | faa5c4b03762ee5f7e1b873065720010efb52756 | |
parent | 388f9d7f174b494ab77bf27a0f5d43f0891c58d4 (diff) | |
parent | 58aaa766a44b8b2105f59bf7fcc5a26447bdf286 (diff) | |
download | gitlab-ce-f8b1ef924e3b405cd72468fce236eb456a9a501d.tar.gz |
Merge branch 'bvl-fix-graphql-autoloading' into 'master'
Types::BaseField accepts authorize after reload
See merge request gitlab-org/gitlab-ce!25694
-rw-r--r-- | config/initializers/graphql.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/graphql.rb b/config/initializers/graphql.rb index 1ed93019329..e653556231d 100644 --- a/config/initializers/graphql.rb +++ b/config/initializers/graphql.rb @@ -1,4 +1,4 @@ # frozen_string_literal: true GraphQL::Field.accepts_definitions(authorize: GraphQL::Define.assign_metadata_key(:authorize)) -Types::BaseField.accepts_definition(:authorize) +GraphQL::Schema::Field.accepts_definition(:authorize) |