lib/google/cloud/firestore/transaction.rb in google-cloud-firestore-2.4.1 vs lib/google/cloud/firestore/transaction.rb in google-cloud-firestore-2.5.0
- old
+ new
@@ -129,10 +129,10 @@
def get_all *docs, field_mask: nil
ensure_not_closed!
ensure_service!
unless block_given?
- return enum_for :get_all, docs, field_mask: field_mask
+ return enum_for :get_all, *docs, field_mask: field_mask
end
doc_paths = Array(docs).flatten.map do |doc_path|
coalesce_doc_path_argument doc_path
end