Skip to content

Expose CasePathsMacroSupport library#243

Merged
stephencelis merged 5 commits into
mainfrom
macro-support
Jun 18, 2026
Merged

Expose CasePathsMacroSupport library#243
stephencelis merged 5 commits into
mainfrom
macro-support

Conversation

@stephencelis

Copy link
Copy Markdown
Member

Gives downstream packages the ability to define their own CasePathable conformances.

Similar to how the @Model macro synthesizes @Observable, this provides a public way for
enum-based libraries to synthesize @CasePathable.

Gives downstream modules the ability to define `CasePathable` conformances.

Similar to how the `@Model` macro synthesizes `@Observable`, this provides a public way for
enum-based libraries to synthesize `@CasePathable`.
@stephencelis stephencelis requested a review from mbrandonw June 18, 2026 17:20
@stephencelis stephencelis merged commit 1197e80 into main Jun 18, 2026
4 checks passed
@stephencelis stephencelis deleted the macro-support branch June 18, 2026 21:26
bok- pushed a commit to bok-/swift-case-paths-with-traits that referenced this pull request Jul 12, 2026
* Expose `CasePathsMacroSupport` module

Gives downstream modules the ability to define `CasePathable` conformances.

Similar to how the `@Model` macro synthesizes `@Observable`, this provides a public way for
enum-based libraries to synthesize `@CasePathable`.

* wip

* wip

* wip

* Simplify CI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants