Our enums currently get converted into classes that implement arrow unions, which I don't believe is correct. The more common pattern of using enums in fbs files, for example:
enum ViewDir: byte {
Up = 1,
Down = 2,
Right = 3,
Left = 4,
Forward = 5,
Back = 6,
}
Should map to an appropriate enum of constants in each language.
Our
enums currently get converted into classes that implement arrow unions, which I don't believe is correct. The more common pattern of using enums in fbs files, for example:Should map to an appropriate enum of constants in each language.