You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a follow-on to issue #4637 which still appears to exist in residual forms.
The issue described in issue 4637 still occurs when unions are being used in one of the files being imported. (Using the latest version of flatc 1.12.0).
Example:
With the following flatbuffer files: main.fbs
include "example.fbs";
namespace schemas;
table Main {
example:Example;
}
root_type Main;
example.fbs
include "nested.fbs";
namespace schemas;
table Example {
nested:NestedWrapper;
foo:int;
}
root_type Example;
// automatically generated by the FlatBuffers compiler, do not modifyimport*asNS2526511929974982885from"./nested_generated";exportnamespaceschemas{exportimportNestedB=NS2526511929974982885.schemas.NestedB;}exportnamespaceschemas{exportimportNestedA=NS2526511929974982885.schemas.NestedA;}/** * @enum {number} */exportnamespaceschemas{exportenumNestedUnion{NONE=0,NestedA=1,NestedB=2}};
.....
....
....
What is expected? The flatbuffer definitions should be self contained within a single generated file.
Let me know if I need to provide any additional information.
Thanks
The text was updated successfully, but these errors were encountered:
This is a follow-on to issue #4637 which still appears to exist in residual forms.
The issue described in issue 4637 still occurs when unions are being used in one of the files being imported. (Using the latest version of flatc 1.12.0).
Example:
With the following flatbuffer files:
main.fbs
example.fbs
nested.fbs
Run the command:
And the output will be:
What is expected? The flatbuffer definitions should be self contained within a single generated file.
Let me know if I need to provide any additional information.
Thanks
The text was updated successfully, but these errors were encountered: