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

proto接口文件的隔离 #73

Open
liming619810 opened this issue Nov 22, 2021 · 0 comments
Open

proto接口文件的隔离 #73

liming619810 opened this issue Nov 22, 2021 · 0 comments

Comments

@liming619810
Copy link

我是第一次使用zero框架,有几个问题交流一下:

  1. 关于proto接口文件的隔离
    建议参考一下micro的设计,
    proto 接口文件应该抽象出来,
    这样proto接口文件的修改和业务模块都是独立
    2.rpc业务模块直接的调用不应该直接引用,应该是和proto一样抽象至独立的package中

谢谢,这是我在使用中的一点建议。

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

1 participant