Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Firestore/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Unreleased
- [feature] Add `Pipeline` support.
- [fixed] Fixed an issue where the returned object in transaction blocks could not
pass across actor boundaries in Swift 6 (#15467).

# 12.4.0
- [fixed] Implemented an internal workaround to fix
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public extension Firestore {
/// explicitly specified in the `updateBlock` parameter.
/// - Returns Returns the value returned in the `updateBlock` parameter if no errors occurred.
func runTransaction(_ updateBlock: @escaping (Transaction, NSErrorPointer)
-> Any?) async throws -> Any? {
-> sending Any?) async throws -> sending Any? {
// This needs to be wrapped in order to express a nullable return value upon success.
// See https://github.com/firebase/firebase-ios-sdk/issues/9426 for more details.
return try await withCheckedThrowingContinuation { continuation in
Expand Down
3 changes: 2 additions & 1 deletion Firestore/Swift/Source/Stages.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ import Foundation
protocol Stage {
var name: String { get }
var bridge: StageBridge { get }
/// The `errorMessage` defaults to `nil`. Errors during stage construction are captured and thrown later when `execute()` is called.
/// The `errorMessage` defaults to `nil`. Errors during stage construction are captured and thrown
/// later when `execute()` is called.
var errorMessage: String? { get }
}

Expand Down
Loading