This is unfortunately not a thing. I pitched a solution here, but would need someone to shepherd it: Automatically derive properties for enum cases
This is unfortunately not a thing. I pitched a solution here, but would need someone to shepherd it: Automatically derive properties for enum cases