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

[Bug] iocli generate proxy method with '_' param causes compile bugs #116

Open
LaurenceLiZhixin opened this issue Aug 13, 2022 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@LaurenceLiZhixin
Copy link
Collaborator

LaurenceLiZhixin commented Aug 13, 2022

As for method:

func (d *dynamicPluginServiceImpl) Update(_ context.Context){

}

the param is omited, but in zz_generated.ioc.go :

func (d *dynamicPluginServiceImpl_) Update(_ contextx.Context) {
	return d.Update_(_, req) // compile error
}

The proxy struct stub param should not include omited param, and should generated a new var. Although it's useless.

@LaurenceLiZhixin LaurenceLiZhixin added good first issue Good for newcomers bug Something isn't working labels Aug 13, 2022
@LaurenceLiZhixin LaurenceLiZhixin changed the title [Enhancement] iocli generate proxy method with '_' param causes compile bugs [Bug] iocli generate proxy method with '_' param causes compile bugs Aug 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant