Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

consider a type state builder #242

Open
cgwalters opened this issue Oct 12, 2024 · 1 comment
Open

consider a type state builder #242

cgwalters opened this issue Oct 12, 2024 · 1 comment

Comments

@cgwalters
Copy link
Contributor

derive-builder requires unwrap() and does runtime checks. There's a few popular crates that use type state, e.g.:

I don't have experience with either, but I definitely don't like the pervasive requirement for unwrap() we have here.

@ariel-miculas
Copy link
Contributor

I wonder if we can have multiple builders so we don't introduce a breaking change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants