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

IntelliJ plugin "Goctl" should support resolve import api file elements #2494

Closed
axiangcoding opened this issue Oct 10, 2022 · 3 comments
Closed

Comments

@axiangcoding
Copy link

Is your feature request related to a problem? Please describe.

import "../../../common/types.api"

...

service user-api {
	@handler update
	post /user/update (CommonReq) returns (CommonResp)
}

CommonReq and CommonResp are both describe in "../../../common/types.api", and goctl generate code successfully.
However on the UI, goland shows "can not resolve CommonReq", this may be misleading to users

Describe the solution you'd like
plugin "Goctl" should support resolve elements from imported api files.

Describe alternatives you've considered
If it is difficult to achieve, maybe change the error message, for example: can not resolve CommonReq, could be from imported api files

Additional context
"Goctl" plugin version 1.1.3

@axiangcoding axiangcoding changed the title IntelliJ plugin "Goctl" should support resolve import api file types IntelliJ plugin "Goctl" should support resolve import api file elements Oct 10, 2022
@kesonan
Copy link
Collaborator

kesonan commented Oct 12, 2022

You can post a new issue in repo https://github.com/zeromicro/goctl-intellij/issues

@waltcow
Copy link

waltcow commented Nov 9, 2022

this bug is very annoying

@kesonan
Copy link
Collaborator

kesonan commented Oct 26, 2023

fix on zeromicro/goctl-intellij#29

@kesonan kesonan closed this as completed Oct 26, 2023
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

3 participants