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

Adding in CallRequestBuilder and tests #529

Merged
merged 9 commits into from Jul 29, 2021

Conversation

bytesoul
Copy link
Contributor

Following up on the Enhancement mentioned in #490. If this is acceptable I will also add a TransactionRequestBuilder.
resolves #490

Copy link
Owner

@tomusdrw tomusdrw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks cool! It would be awesome to add docs and properly format the code.

Also have you considered just using some proc-macro library to generate the builder? Maybe something like this: https://github.com/colin-kiegel/rust-derive-builder

@bytesoul
Copy link
Contributor Author

Let me know if the formatting is correct now

@tomusdrw
Copy link
Owner

@bytesoul please simply use rustfmt and run cargo fmt.

@tomusdrw tomusdrw enabled auto-merge (squash) July 29, 2021 08:53
@tomusdrw tomusdrw merged commit 787ba1b into tomusdrw:master Jul 29, 2021
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.

Add CallRequest and TransactionRequest builders
2 participants