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

Support types without default constructors #1

Open
ttd2089 opened this issue Jul 23, 2023 · 1 comment
Open

Support types without default constructors #1

ttd2089 opened this issue Jul 23, 2023 · 1 comment

Comments

@ttd2089
Copy link
Member

ttd2089 commented Jul 23, 2023

Add support for building types without default constructors.

@ttd2089
Copy link
Member Author

ttd2089 commented Jul 23, 2023

Maybe the Builder<T> constructor could take arbitrary arguments and it's constructor would look for a constructor on T that matches them, or maybe it could just take a factory function or a starting instance.

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

1 participant