lib/graphql/schema/field/connection_extension.rb in graphql-1.12.5 vs lib/graphql/schema/field/connection_extension.rb in graphql-1.12.6
- old
+ new
@@ -40,9 +40,10 @@
value.parent ||= object.object
value.first_value ||= original_arguments[:first]
value.after_value ||= original_arguments[:after]
value.last_value ||= original_arguments[:last]
value.before_value ||= original_arguments[:before]
+ value.arguments ||= original_arguments
value.field ||= field
if field.has_max_page_size? && !value.has_max_page_size_override?
value.max_page_size = field.max_page_size
end
if context.schema.new_connections? && (custom_t = context.schema.connections.edge_class_for_field(@field))