Skip to content

Commit

Permalink
Merge pull request #4769 from rmosolgo/remove-deprecation-mod
Browse files Browse the repository at this point in the history
remove GraphQL::Deprecation helper
  • Loading branch information
rmosolgo authored Jan 10, 2024
2 parents 002fd33 + 57a26af commit 92acfb6
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 24 deletions.
1 change: 0 additions & 1 deletion lib/graphql.rb
Original file line number Diff line number Diff line change
Expand Up @@ -120,5 +120,4 @@ module EmptyObjects
require "graphql/unauthorized_error"
require "graphql/unauthorized_field_error"
require "graphql/load_application_object_failed_error"
require "graphql/deprecation"
require "graphql/testing"
9 changes: 0 additions & 9 deletions lib/graphql/deprecation.rb

This file was deleted.

11 changes: 0 additions & 11 deletions spec/graphql/deprecation_spec.rb

This file was deleted.

4 changes: 1 addition & 3 deletions spec/integration/rails/graphql/query/variables_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,7 @@ def self.thingsCount(args, ctx) # rubocop:disable Naming/MethodName
}
|}
let(:result) {
GraphQL::Deprecation.stub(:warn, nil) do
schema.execute(query_string, variables: provided_variables, root_value: ObjectWithThingsCount)
end
schema.execute(query_string, variables: provided_variables, root_value: ObjectWithThingsCount)
}

describe "when they are present, but null" do
Expand Down

0 comments on commit 92acfb6

Please sign in to comment.