mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-25 06:48:39 +00:00
Unset FieldDef.optional if its key (#6402)
* Unset FieldDef.optional if its key * removed StringKey table, just removed an extra "required, key" * removed extra newline Co-authored-by: Casper Neo <cneo@google.com>
This commit is contained in:
@@ -71,7 +71,7 @@ table Monster {
|
||||
pos:Vec3 (id: 0);
|
||||
hp:short = 100 (id: 2);
|
||||
mana:short = 150 (id: 1);
|
||||
name:string (id: 3, required, key);
|
||||
name:string (id: 3, key);
|
||||
color:Color = Blue (id: 6);
|
||||
inventory:[ubyte] (id: 5);
|
||||
friendly:bool = false (deprecated, priority: 1, id: 4);
|
||||
|
||||
Reference in New Issue
Block a user