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

使用kitex命令自动生成代码,.thrift文件能够正常生产, .proto文件就会报错 #31

Closed
heweshub opened this issue May 17, 2022 · 3 comments

Comments

@heweshub
Copy link

具体错误如下:
Expect the IDL file to have an extension of '.thrift'. Got 'user.proto'.

@heweshub
Copy link
Author

我的命令是
kitex user.proto

@li-jin-gou
Copy link
Member

li-jin-gou commented May 17, 2022

@heweshub 仔细看下 https://www.cloudwego.io/zh/docs/kitex/tutorials/code-gen/code_generation/
使用 pb 可能需要了解一下 -I-type 参数。

@heweshub
Copy link
Author

@li-jin-gou 十分感谢,已解决。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants