lib/graphql/relay/base_connection.rb in graphql-relay-0.3.5 vs lib/graphql/relay/base_connection.rb in graphql-relay-0.3.6
- old
+ new
@@ -35,10 +35,10 @@
def self.connection_for_items(items)
implementation = CONNECTION_IMPLEMENTATIONS.find do |items_class, connection_class|
items.is_a?(items_class)
end
if implementation.nil?
- raise("No connection implementation to wrap #{items.class}")
+ raise("No connection implementation to wrap #{items.class} (#{items})")
else
implementation[1]
end
end