Skip to content

Commit 92acfb6

Browse files
authored
Merge pull request #4769 from rmosolgo/remove-deprecation-mod
remove GraphQL::Deprecation helper
2 parents 002fd33 + 57a26af commit 92acfb6

File tree

4 files changed

+1
-24
lines changed

4 files changed

+1
-24
lines changed

lib/graphql.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,5 +120,4 @@ module EmptyObjects
120120
require "graphql/unauthorized_error"
121121
require "graphql/unauthorized_field_error"
122122
require "graphql/load_application_object_failed_error"
123-
require "graphql/deprecation"
124123
require "graphql/testing"

lib/graphql/deprecation.rb

Lines changed: 0 additions & 9 deletions
This file was deleted.

spec/graphql/deprecation_spec.rb

Lines changed: 0 additions & 11 deletions
This file was deleted.

spec/integration/rails/graphql/query/variables_spec.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,7 @@ def self.thingsCount(args, ctx) # rubocop:disable Naming/MethodName
100100
}
101101
|}
102102
let(:result) {
103-
GraphQL::Deprecation.stub(:warn, nil) do
104-
schema.execute(query_string, variables: provided_variables, root_value: ObjectWithThingsCount)
105-
end
103+
schema.execute(query_string, variables: provided_variables, root_value: ObjectWithThingsCount)
106104
}
107105

108106
describe "when they are present, but null" do

0 commit comments

Comments
 (0)