-
Notifications
You must be signed in to change notification settings - Fork 0
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
gRPC create #19
base: main
Are you sure you want to change the base?
gRPC create #19
Conversation
@@ -5,21 +5,15 @@ option go_package = "github.com/DIMO-Network/attestation-api/pkg/grpc"; | |||
package grpc; | |||
|
|||
service AttestationService { | |||
rpc BatchCreateVINVC(BatchCreateVINVCRequest) returns (BatchCreateVINVCResponse); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess Yev wants to start with non-batch. Casing looks a bit odd but follows the official style guide.
message BatchCreateVINVCResponse { | ||
repeated VINVCResult results = 1; | ||
message CreateVinVcResponse { | ||
string raw_vc = 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just returning the raw string. I don't really want to build another RPC call into Telemetry. We'll get rid of all this soon.
Up to you but I don't mind updating the identity client error handling in this PR. Since this repo is still newer all the updates are welcome |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's merge this in I since I am about to have some larger interface signature changes to get this to work with our new indexing.
I need to add the actual wiring. This is getting pushed back so I’ll probably just merge in whatever you’re doing. |
Add a VIN VC retrieval/generation gRPC call for internal use.
force
boolean.