pointfreeco / swift-case-paths

🧰 Case paths extends the key path hierarchy to enum cases.
https://www.pointfree.co/collections/enums-and-structs/case-paths
MIT License
921 stars 108 forks source link

Reflection SPI #99

Closed stephencelis closed 1 year ago

stephencelis commented 1 year ago

This PR begins to expose an SPI interface for some of the enum reflection machinery that was internal. We have a bunch of tools that recreate the enumTag functionality in each respective repo, but those libraries typically also depend on case paths, so it'd be simpler to get the functionality directly.