This repository has been archived by the owner on Nov 18, 2021. It is now read-only.
protoc import "cue/cue.proto"; ? #983
Unanswered
randomizedcoder
asked this question in
General
Replies: 1 comment
-
This discussion has been migrated to cue-lang/cue#983. For more details about CUE's migration to a new home, please see cue-lang/cue#1078. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
G'day,
I'm a newbie attempting to use Cue for the first time, so sorry for the really basic questions. I figure I should ask to help the next newbie, and possibly add a little to the docs to make it more clear. - Documentation does seems great BTW
Essentially, I'm hoping to this CUE mostly to code gen input validation for gRPC, per the tail end of:
https://cuelang.org/docs/usecases/generate/
I've added the cue tags to the .protos, per:
https://cuelang.org/docs/integrations/protobuf/#extract-cue-from-a-standalone-proto-file
I've done the install via: https://cuelang.org/docs/install/
Added the import for cue, just after the standard timestamp, for example:
Then I tried protoc, but I suspect I'm missing a plugin.
But I don't know what to do. Searching finds the envoyproxy stuff, and actually that might be an alternative to cue. I don't know what the community is doing, with CUE verse this envoy proxy code gen thinger.
https://github.com/envoyproxy/protoc-gen-validate
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions