Skip to content

Commit

Permalink
Make DocumentID sendable
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-hui committed Aug 23, 2024
1 parent 1af4d02 commit aa83a6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Firestore/Swift/Source/Codable/DocumentID.swift
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ protocol DocumentIDProtocol {
/// its value is ignored. This allows you to read a document from one path and
/// write it into another without adjusting the value here.
@propertyWrapper
public struct DocumentID<Value: DocumentIDWrappable & Codable>:
StructureCodingUncodedUnkeyed {
public struct DocumentID<Value: DocumentIDWrappable & Codable & Sendable>:
StructureCodingUncodedUnkeyed, Sendable {
private var value: Value? = nil

public init(wrappedValue value: Value?) {
Expand Down

0 comments on commit aa83a6b

Please sign in to comment.