Closed oriontvv closed 1 year ago
This is a duplicate of #73, which was closed for the rationale explained here.
Oh, so sad. Thanks for the answer. Looks like a lot of people want such a feature and we should think about switching to typed-builder
.
If you want a builder that's checked at compile time using session types, you should absolutely use typed-builder
.
Or, if completely changing your builder strategy over this proves to be too dramatic, you could add the three lines needed to one of your impl blocks and provide the method.
Hello, first of all thanks for awesome crate!
I haven't dig dive into the sources yet, but want to discuss - is it possible to add simple shortcut to built structure? It would be cool to get a Builder and allow us not to import it explicitly. Most editors can't detect and generate this import(maybe because of macro) and we have to write it by hands. User's code could be something like that:
What do you think guys?