Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make DocumentID sendable #13537

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Make DocumentID sendable #13537

wants to merge 1 commit into from

Conversation

wu-hui
Copy link
Contributor

@wu-hui wu-hui commented Aug 23, 2024

No description provided.

@google-oss-bot
Copy link

1 Warning
⚠️ Did you forget to add a changelog entry? (Add #no-changelog to the PR description to silence this warning.)

Generated by 🚫 Danger

Copy link
Contributor

Apple API Diff Report

Commit: c448fa6
Last updated: Fri Aug 23 10:39 PDT 2024
View workflow logs & download artifacts


[BUILD ERROR] FirebaseFirestore


@@ -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>:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure it can be Sendable because the public wrappedValue API with a setter makes it mutable.

@paulb777 paulb777 assigned wu-hui and unassigned paulb777 Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants