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

协议中支持枚举是很有必要的看看能不能支持下 #71

Open
132982jianan opened this issue Nov 28, 2024 · 0 comments
Open

Comments

@132982jianan
Copy link

原因:
在协议中定义了枚举,前后端对齐会很方便,用int的话,后端加个新枚举,很难通知前端,那就出大问题了。
尤其是,一个团队中,10几个前后端合作,更需要在pb中定义枚举。

map是不需要的,因为有repeated。

如果现在我们项目中没有枚举,想想不知道会产生多少麻烦事。

初见大大看看能否支持下。

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