fix-simple-binary-encoding
fix-simple-binary-encoding copied to clipboard
Enum name attribute too restrictive
Currently an Enum name is restricted to 'symbolicName'. This can be restrictive for a system that requires encoding of known names Eg. ApplicationId->RET-AD RET-AD could not be encoded as an Enum name and would therefore need to be altered to some other form such as RET_AD, this imposes complexity for upstream and downstream systems to map from/to the 'known' value. [real-logic/simple-binary-encoding/issues/760]
The current rule for SBE names is similar to identifier rules in C++:
- Allows alpha, digit, underscore
- Cannot begin with a digit
Other programming languages are similar.
How would it work if SBE allowed hyphen?
A specific proposal would be helpful for discussion.