Skip to content

Commit

Permalink
make transient sendable when inner type is sendable (#59)
Browse files Browse the repository at this point in the history
Co-authored-by: Oguz Yuksel <[email protected]>
  • Loading branch information
OguzYuuksel and Oguz Yuksel authored Oct 10, 2024
1 parent 744c199 commit 4ade9d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Sources/FoundationExtensions/Codable/Transient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,5 @@ public struct Transient<Wrapped>: Equatable, Hashable, Encodable {
// Transient properties do not get encoded.
}
}

extension Transient: Sendable where Wrapped: Sendable { }

0 comments on commit 4ade9d4

Please sign in to comment.