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

@GraphqlMethod 支持自定义方法名称 #38

Open
wangyuheng opened this issue Dec 3, 2020 · 0 comments
Open

@GraphqlMethod 支持自定义方法名称 #38

wangyuheng opened this issue Dec 3, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@wangyuheng
Copy link
Owner

wangyuheng commented Dec 3, 2020

背景

通过 @GraphqlMethod@GraphqlQuery等annotation声明Graphql 接口方法时通过方法名称映射schema 方法名。如果schema方法名相同,无法在同一个类中声明多个方法

方案

允许自定义方法名称,默认为java方法名

验证

自定义方法名称

@wangyuheng wangyuheng added the enhancement New feature or request label Dec 3, 2020
@wangyuheng wangyuheng added this to the 1.3.0 milestone Dec 3, 2020
@wangyuheng wangyuheng self-assigned this Dec 3, 2020
@wangyuheng wangyuheng modified the milestones: 1.3.0, 1.4.0 Dec 6, 2020
@wangyuheng wangyuheng mentioned this issue Dec 6, 2020
@wangyuheng wangyuheng removed this from the 1.4.0 milestone Dec 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant