Replies: 2 comments 4 replies
-
What version are you using? Empty tables are supported on newer versions of FlatSharp. Empty tables were added in FlatSharp 5.2. If you're on a newer version than that, this is a bug that I'll be happy to address! |
Beta Was this translation helpful? Give feedback.
-
I'll look into this for you. There's no reason that I know of in principle that enums can't be sorted vector keys, but it is something that FlatSharp goes out of its way to disallow: // EnumTypeModel.cs
public override bool IsValidSortedVectorKey => false; There is no technical limitation here, and the fix should be as simple as writing a bunch of tests and switching that I need to investigate a bit more. It's pretty likely that this is just an oversight on my part (sorry!), but I do need to confirm that Google library also supports this and there isn't any weirdness there. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi James.
Is there any particular reason why we can't use enum fields as keys in IIndexedVector?
Thanks,
Cris
Beta Was this translation helpful? Give feedback.
All reactions