Standardizing case paths?

Hi! We were talking about case paths at our Saturday morning Swift meetup. They are clearly useful even outside the realm of TCA! We were wondering if there was any movement to standardizing them or perhaps using them as inspiration for extending the functionality of keypaths to enums. I am guessing that going through the pitch/implementation/ review is a lot of work and that is the gating issue. Or is there something more fundamental preventing it?

It's been discussed: Pitch: Even Smarter KeyPaths?

1 Like

Thank you! (I searched for case path but that didn't come up.)

Also: Extract Payload for enum cases having associated value - #8 by GLanza following from that earlier link.

And most recently this [Discussion] Inclusion of CasePaths into the language

:sweat_smile:

2 Likes
Terms of Service

Privacy Policy

Cookie Policy