We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
原因: 在协议中定义了枚举,前后端对齐会很方便,用int的话,后端加个新枚举,很难通知前端,那就出大问题了。 尤其是,一个团队中,10几个前后端合作,更需要在pb中定义枚举。
map是不需要的,因为有repeated。
如果现在我们项目中没有枚举,想想不知道会产生多少麻烦事。
初见大大看看能否支持下。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
原因:
在协议中定义了枚举,前后端对齐会很方便,用int的话,后端加个新枚举,很难通知前端,那就出大问题了。
尤其是,一个团队中,10几个前后端合作,更需要在pb中定义枚举。
map是不需要的,因为有repeated。
如果现在我们项目中没有枚举,想想不知道会产生多少麻烦事。
初见大大看看能否支持下。
The text was updated successfully, but these errors were encountered: