Skip to content

Commit 1fe5229

Browse files
authored
[Database] Mark 'FIRDataSnapshot' as Sendable (#14439)
1 parent 9c08529 commit 1fe5229

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

FirebaseDatabase/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
Socket Rocket implementation instead of `NSURLSessionWebSocket`. Note that
44
this may expose a Thread Performance Checker Warning (#12883).
55
(#14188, #13877, #13855, #13529)
6+
- [fixed] Added `Sendable` conformance to `DataSnapshot` (#14369).
67

78
# 11.2.0
89
- [fixed] Fix temporary disconnects when the app goes inactive. The issue was

FirebaseDatabase/Sources/Public/FirebaseDatabase/FIRDataSnapshot.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ NS_ASSUME_NONNULL_BEGIN
3030
* location. They can't be modified and will never change. To modify data at a
3131
* location, use a DatabaseReference (e.g. with `setValue(_:)`).
3232
*/
33+
NS_SWIFT_SENDABLE
3334
NS_SWIFT_NAME(DataSnapshot)
3435
@interface FIRDataSnapshot : NSObject
3536

0 commit comments

Comments
 (0)