In protobuf can I constrain a maps's key to certain values?

后端 未结 0 781
既然无缘
既然无缘 2021-02-04 07:29

So protobuf does not allow string enums to be keys in a map I want to constrain a map to only have the keys a, b, or c. I\'m working in Kotlin and can use validators like

相关标签:
回答
  • 消灭零回复
提交回复
热议问题