Angelo Rendina
Angelo Rendina
An issue I have with the `overwritable` feature is that it fiddles with the typestate. A setter currently maps `Builder -> Builder`, regardless if `S` already was `IsSet` or not....
@Veetaha thanks for pointing out the `builder(field)` attribute: it _almost_ fits our use case. I can actually repurpose the example in the documentation to explain our issue: imagine we needed...
@Veetaha indeed, the issue we are facing is that we do need to explicitly spell out the type of the builder: we have a state machine that wraps various stages...
@Veetaha in my implementation attempt, I simply used `getter_mut` as attribute 😄 I got it working with a simple example (essentially a copy of what I've found in the playground...