Skip to content

Add Attachment.init(encoding:as:...)#1770

Open
grynspan wants to merge 3 commits into
mainfrom
jgrynspan/attachment-init-encoding
Open

Add Attachment.init(encoding:as:...)#1770
grynspan wants to merge 3 commits into
mainfrom
jgrynspan/attachment-init-encoding

Conversation

@grynspan

@grynspan grynspan commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

This PR adds experimental interfaces to construct an attachment from an Encodable or NSSecureCoding value with the ability to specify the encoding or encoder used. See swiftlang/swift-evolution#3339.

@grynspan grynspan self-assigned this Jun 22, 2026
@grynspan grynspan added enhancement New feature or request public-api Affects public API attachments/activities 🖇️ Work related to attachments and/or activities labels Jun 22, 2026
@grynspan grynspan marked this pull request as ready for review July 9, 2026 18:54
@grynspan grynspan changed the title [WIP] Add Attachment.init(encoding:as:...) Add Attachment.init(encoding:as:...) Jul 9, 2026
@grynspan grynspan force-pushed the jgrynspan/attachment-init-encoding branch from 3354ab2 to 86e3db9 Compare July 9, 2026 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

attachments/activities 🖇️ Work related to attachments and/or activities enhancement New feature or request public-api Affects public API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants