Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[XML Markers] Internal Protobuf Schema #72

Closed
Tracked by #64
AsherGlick opened this issue Jul 24, 2022 · 0 comments
Closed
Tracked by #64

[XML Markers] Internal Protobuf Schema #72

AsherGlick opened this issue Jul 24, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@AsherGlick
Copy link
Owner

A protobuf schema needs to be written to handle the internal filetypes.

It is possible it can be auto generated from the docs, though there might be some file types that are difficult to store. Those custom file types may need to be revisited to see if they can be dynamic instead. Additionally if generated automatically then a mapping between internal types and protobuf types would need to exist somewhere.

Another option, and the suggested one, is to write the schema manually and rely on C++ compiler errors to validate the schema complies with all of the fields required. This will allow custom data types to implement their own serializer functions without needing tooling for bespoke automatic generation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant