Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

可不可以直接使用proto 里定义的pojo对象,而不定义用@Protobuf 定义的对象? #86

Open
yiguolei opened this issue Oct 1, 2022 · 1 comment

Comments

@yiguolei
Copy link

yiguolei commented Oct 1, 2022

后端用C++ 实现的,所以已经有proto 定义的IDL 对象了; 但是客户端是java,想用jprotobuf来做客户端,但是提示客户端传递的对象必须使用@protobuf 标注。
如果能都用proto 来定义对象,那么前后端就统一了。

@jhunters
Copy link
Collaborator

支持的, 参数可以直接用原生的Pb对象

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants