Skip to content

Commit

Permalink
[Firestore] Add conditonal Sendability conformance to ServerTimestamp (
Browse files Browse the repository at this point in the history
  • Loading branch information
ncooke3 authored Nov 22, 2024
1 parent 7cfb06f commit 700fd68
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Firestore/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Unreleased
- [fixed] Add conditional `Sendable` conformance so `ServerTimestamp<T>` is
`Sendable` if `T` is `Sendable`. (#14042)

# 11.4.0
- [changed] Prepare Firestore cache to support session token.

Expand Down
2 changes: 2 additions & 0 deletions Firestore/Swift/Source/Codable/ServerTimestamp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,5 @@ public struct ServerTimestamp<Value>: Codable
extension ServerTimestamp: Equatable where Value: Equatable {}

extension ServerTimestamp: Hashable where Value: Hashable {}

extension ServerTimestamp: Sendable where Value: Sendable {}

0 comments on commit 700fd68

Please sign in to comment.