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

Use unique interface name for tuple requests #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JSRossiter
Copy link

Currently if a function has multiple tuple parameters only one Request interface is generated and used for all of them.

I haven't tested this change, and not sure how deep tuples are handled but I think something like this should be useful.

Currently if a function has multiple tuple parameters only one Request interface is generated and used for all of them.

I haven't tested this change, and not sure how deep tuples are handled but I think something like this should be useful.
@joshstevens19
Copy link
Owner

Hey sorry i missed this.. when would you have a tuple named the same name with different interface?

@JSRossiter
Copy link
Author

foo(tuple arg1, tuple arg2) currently creates one interface named FooRequest, after this change it should create FooArg1Request and FooArg2Request

@joshstevens19
Copy link
Owner

Ahhhh I get you have you got an example ABI I can use to do some testing that you have used to verify this change? If not no worries can gen one and test it out

@JSRossiter
Copy link
Author

I don't have one, sorry

@joshstevens19 joshstevens19 reopened this Jan 6, 2024
Repository owner deleted a comment Jan 6, 2024
@ramazansancar
Copy link

Scam Comment @joshstevens19

Repository owner deleted a comment Jan 28, 2024
Repository owner deleted a comment Jan 28, 2024
Repository owner deleted a comment from chasedson Feb 7, 2024
Repository owner deleted a comment Feb 19, 2024
Repository owner deleted a comment from ilkerbrz Feb 23, 2024
Repository owner deleted a comment from yexuanyang Mar 4, 2024
Repository owner deleted a comment from roneyfraga Mar 18, 2024
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.

3 participants