Unset FieldDef.optional if its key (#6402)
authorCasper <casperneo@uchicago.edu>
Tue, 12 Jan 2021 19:06:43 +0000 (14:06 -0500)
committerGitHub <noreply@github.com>
Tue, 12 Jan 2021 19:06:43 +0000 (14:06 -0500)
commit8573108bbef495f3dd13db8353f43b2e86d25950
treeebb69f81cf59651aa0d03f9b28c1c40e5c2c358c
parent7abe612b59968f8f53626dc06a3ded601cf234dc
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>
src/idl_parser.cpp
tests/monster_test.bfbs
tests/monster_test.fbs
tests/monster_test_bfbs_generated.h