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

Investigate automated method generation #44

Open
emostov opened this issue Jan 12, 2021 · 1 comment
Open

Investigate automated method generation #44

emostov opened this issue Jan 12, 2021 · 1 comment

Comments

@emostov
Copy link
Contributor

emostov commented Jan 12, 2021

As it stands, txwrapper methods are hardcoded and take a lot of boiler plate. This design was initially chose in order to create the easiest possible experience for library users as having the method arguments + documentation hard coded was hypothesized to make users experience easier.

An alternative to hardcoding would be having some dynamic generation.

Some ideas:

I think the main considerations is that the solution should 1) not degrade runtime performance 2) should not break the existing API and 3) it should be very easy for new users navigate

cc @TarikGul

@TarikGul
Copy link
Member

I like this idea a lot. I think it would take some careful planning/designing but I think this could be a potential upgrade for sure.

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