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

Drop the derive-builder and create new one. #19

Closed
bokuweb opened this issue Jul 3, 2020 · 0 comments
Closed

Drop the derive-builder and create new one. #19

bokuweb opened this issue Jul 3, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@bokuweb
Copy link
Member

bokuweb commented Jul 3, 2020

Is your feature request related to a problem? Please describe.

We use derive-builder to build put item like following.

        let input = User::put_item_builder()
            .id("id".to_owned())
            .name("bokuweb".to_owned())
            .build()
            .unwrap();
        let res = client.put(input).run().await;

Unfortunately, this builder is not type safe.

colin-kiegel/rust-derive-builder#33

I think it should be type safe.

Describe the solution you'd like

Create new type safe builder derive.

Describe alternatives you've considered

NA

Additional context

NA

@bokuweb bokuweb added the enhancement New feature or request label Jul 7, 2020
@bokuweb bokuweb closed this as completed Jul 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant