You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
Is your feature request related to a problem? Please describe.
CommonReq
andCommonResp
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
The text was updated successfully, but these errors were encountered: