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

Simplify partial object constructions #1448

Merged
merged 11 commits into from
Dec 13, 2022
Merged

Simplify partial object constructions #1448

merged 11 commits into from
Dec 13, 2022

Conversation

hannobraun
Copy link
Owner

Remove their constructors and replace them with their Default implementations. Derive those Default implementations, where possible.

This is another step towards addressing #1249.

Most of those constructors aren't doing anything special anyway. For
those that do, the `from_full` implementations are overriding their
custom behavior, by providing all optional values.
Derive those `Default` implementations, where possible.
@hannobraun hannobraun enabled auto-merge December 13, 2022 15:04
@hannobraun hannobraun merged commit a5e2ef6 into main Dec 13, 2022
@hannobraun hannobraun deleted the partial branch December 13, 2022 15:10
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

Successfully merging this pull request may close these issues.

1 participant