I've got a bunch of optional fields, and I want to check when they aren't provided. protobuf optional members have a bool has_<field>() function for the optional elements. It seems flatbuffers instead goes straight to the defaults? Is there any way to determine if things have been written at all vs when it is a default?
The reason for this is I'm sending messages where I only want to send diffs rather than full updates of the whole message when only one field has changed.
Additionally, is it possible to update fields in a buffer that has already been finished, or does it need to be reconstructed from scratch each time?
Thanks!