symmetryinvestments / imap-d

D library for IMAP (JMAP is a work-in-progress but the basics work)
14 stars 10 forks source link

Maybe use serdeParseEnum to parse strings to enums. #66

Open otrho opened 3 years ago

otrho commented 3 years ago

Instead of manually parsing strings to enums in protocol responses (using __traits and UDAs) it might be simpler and/or more robust to use serdeParseEnum from mir.algorithm.

Docs.