Feature Request: derive macro for Typename and as methods on enum vertices
Feature Request: derive macro for Typename and as methods on enum vertices: a task in LegoFlow-SWE (Harbor dataset). Currently, every Trustfall vertex type must manually implement the Typename trait and provide conversion methods like as user() , as message() , etc. This is repetitive and…
The task
Currently, every Trustfall vertex type must manually implement the `Typename` trait and provide conversion methods like `as_user()`, `as_message()`, etc. This is repetitive and error-prone. For example, a typical vertex enum:
Part of Lego-X/LegoFlow-SWE.