Skip to content

Conversation

@grynspan
Copy link
Contributor

@grynspan grynspan commented Oct 24, 2025

This PR adds a for-tools SPI property uncheckedPreferredName to Attachment. We can then use this property to distinguish when the developer provided or did not provide a name for an attachment.

Tools can then use this property and apply their own naming rules when consuming attachments from the event stream.

Naming is hard; I'm open to other/better names.

Checklist:

  • Code and documentation should follow the style of the Style Guide.
  • If public symbols are renamed or modified, DocC references should be updated.

This PR adds a for-tools SPI property `uncheckedPreferredName` to `Attachment`.
We can then use this property to distinguish when the developer provided or did
not provide a name for an attachment.

Tools can then use this property and apply their own naming rules when consuming
attachments from the event stream.

Naming is hard; I'm open to other/better names.
@grynspan grynspan added this to the Swift 6.x (main) milestone Oct 24, 2025
@grynspan grynspan self-assigned this Oct 24, 2025
@grynspan grynspan added the enhancement New feature or request label Oct 24, 2025
@grynspan grynspan requested a review from jerryjrchen as a code owner October 24, 2025 15:22
@grynspan grynspan added tools integration 🛠️ Integration of swift-testing into tools/IDEs attachments/activities 🖇️ Work related to attachments and/or activities labels Oct 24, 2025
@grynspan
Copy link
Contributor Author

Actually never mind.

@grynspan grynspan closed this Oct 24, 2025
@grynspan grynspan deleted the jgrynspan/attachment-unchecked-name branch October 24, 2025 15:30
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 tools integration 🛠️ Integration of swift-testing into tools/IDEs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant