Are Flatbuffers compatible across different versions of the Flatbuffer compiler + runtime libraries?
I've spent a many hours troubleshooting this and think I've identified that the answer is "NO", but still haven't found an authoritative answer. The docs are mum on this.
For example:
- Generate code (Java/Go) using
flatc
from v1.11 - Use the generated code to write and read on another application that is using the runtime dependencies from v1.10 (the reading is technically only because of local unit tests).
If this is the case, then I'd love to have some clarification on the compiler/runtime upgrade story. Perhaps my issue is the fact that I'm writing with a higher version than what I'm reading with - hence, the upgrade story might be to always upgrade readers first, then roll out writer upgrades.