Commit aa38324b authored by Peter Leitzen's avatar Peter Leitzen

Yield original arguments in connection extension

This helps upgrading to graphql 1.11.7.

See https://github.com/rmosolgo/graphql-ruby/pull/3168
parent 72e1c80b
...@@ -4,7 +4,7 @@ module Gitlab ...@@ -4,7 +4,7 @@ module Gitlab
module Extensions module Extensions
class ExternallyPaginatedArrayExtension < GraphQL::Schema::Field::ConnectionExtension class ExternallyPaginatedArrayExtension < GraphQL::Schema::Field::ConnectionExtension
def resolve(object:, arguments:, context:) def resolve(object:, arguments:, context:)
yield(object, arguments) yield(object, arguments, arguments)
end end
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment