Skip to content

Commit 700fd68

Browse files
authored
[Firestore] Add conditonal Sendability conformance to ServerTimestamp (#14162)
1 parent 7cfb06f commit 700fd68

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Firestore/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Unreleased
2+
- [fixed] Add conditional `Sendable` conformance so `ServerTimestamp<T>` is
3+
`Sendable` if `T` is `Sendable`. (#14042)
4+
15
# 11.4.0
26
- [changed] Prepare Firestore cache to support session token.
37

Firestore/Swift/Source/Codable/ServerTimestamp.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,3 +105,5 @@ public struct ServerTimestamp<Value>: Codable
105105
extension ServerTimestamp: Equatable where Value: Equatable {}
106106

107107
extension ServerTimestamp: Hashable where Value: Hashable {}
108+
109+
extension ServerTimestamp: Sendable where Value: Sendable {}

0 commit comments

Comments
 (0)