lib/graphql/schema/field/connection_extension.rb in graphql-1.10.2 vs lib/graphql/schema/field/connection_extension.rb in graphql-1.10.3

- old
+ new

@@ -36,10 +36,11 @@ value.last_value ||= arguments[:last] value.before_value ||= arguments[:before] value.max_page_size ||= field.max_page_size value elsif context.schema.new_connections? - context.schema.connections.wrap(field, value, arguments, context) + wrappers = context.namespace(:connections)[:all_wrappers] ||= context.schema.connections.all_wrappers + context.schema.connections.wrap(field, value, arguments, context, wrappers: wrappers) else if object.is_a?(GraphQL::Schema::Object) object = object.object end connection_class = GraphQL::Relay::BaseConnection.connection_for_nodes(value)