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

Add Protocol Buffers as a schema input and output target #86

Open
sdboyer opened this issue Nov 3, 2022 · 1 comment
Open

Add Protocol Buffers as a schema input and output target #86

sdboyer opened this issue Nov 3, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@sdboyer
Copy link
Contributor

sdboyer commented Nov 3, 2022

Thema has an increasingly robust set of lang/schema expression inputs and outputs at this point - OpenAPI, JSON Schema, Go, TypeScript (though the latter two are only outputs).

It's about time we add Protocol Buffers, especially given that it should be pretty easy given CUE's stdlib support.

...or at least, that'll help us with proto->CUE - seems there isn't a CUE->proto generator in the other direction yet. That's not optimal, but we can do the same as we did with Go for a while - given a .proto, do a runtime check that verifies it aligns with a particular Thema schema.

@sdboyer
Copy link
Contributor Author

sdboyer commented Nov 3, 2022

cc @amckinney - inching towards what we talked about!

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