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

Round-trippable object representations #94

Open
klauer opened this issue Sep 9, 2021 · 0 comments
Open

Round-trippable object representations #94

klauer opened this issue Sep 9, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@klauer
Copy link
Contributor

klauer commented Sep 9, 2021

It would be nice if, for example, you could generate a .db file from a Database dataclass, or a .proto file from a StreamProtocol.

This would assuredly poke holes in things like poor comment-handling, but it could be useful for automatic reformatting and such.

The jinja templates probably have enough flexibility to do this, so it'd be a matter of adding a key for this type of representation and a new format for nearly every dataclass (... not a small task).

@klauer klauer added the enhancement New feature or request label Sep 9, 2021
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