-
Notifications
You must be signed in to change notification settings - Fork 29
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
Migrate from typed-builder
to bon
#196
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Side note: I also added your PR as a remote, and it's a bit annoying when its branch name is the same as in the base repo.
For me its also annoying when I want to create a second PR while another one is already open, so I always name them to prevent name conflicts.
pub struct SetWebhookParams { | ||
#[builder(setter(into))] | ||
#[builder(into)] | ||
pub url: String, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unrelated to this PR: maybe use url::Url
here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's keep this change for a separate PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That was my intention. This is only a comment to spark the idea, mainly for @ayrat555
Protecting the long-lived git tradition 💪 |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
I think we should wait a bit for bon to settle. Changes will quickly create a bunch of changes in frankenstein due to its quite heavy builder usage. I really like its benefits over typed-builder, but I would like to prevent multiple refactorings while bon is still maturing. Also, there might be ways to improve the usage of bon even further by condensing all |
This comment was marked as off-topic.
This comment was marked as off-topic.
Hey @ayrat555, @EdJoPaTo I've updated bon to the version I propose to merge this PR. See my comment #196 (comment) about the improvements suggested by @EdJoPaTo I propose to do that in a separate PR to keep the diff low and avoid future merge conflicts. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Jut a nitpick, otherwise I think it's a good to merge!
This is definitely a breaking change with the changes of into
but I think its worth it.
Co-authored-by: EdJoPaTo <[email protected]>
No description provided.