lib/graphql/schema/field/connection_extension.rb in graphql-2.3.10 vs lib/graphql/schema/field/connection_extension.rb in graphql-2.3.11

- old
+ new

@@ -48,10 +48,10 @@ value.max_page_size = field.max_page_size end if field.has_default_page_size? && !value.has_default_page_size_override? value.default_page_size = field.default_page_size end - if context.schema.new_connections? && (custom_t = context.schema.connections.edge_class_for_field(@field)) + if (custom_t = context.schema.connections.edge_class_for_field(@field)) value.edge_class = custom_t end value else context.namespace(:connections)[:all_wrappers] ||= context.schema.connections.all_wrappers