You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dankeboy36
changed the title
Provide a consistent gRPC interface for client streaming requests
Provide a consistent gRPC interface for client streaming requests with stdout/stderr
Dec 6, 2023
Describe the request
Please provide a consistent gRPC interface for client streaming requests with stdout/stderr.
Clients have to use two different styles of APIs:
out_stream
ANDerr_stream
are optionally part of every response chunk:CompileResponse
):arduino-cli/rpc/cc/arduino/cli/commands/v1/compile.proto
Lines 99 to 103 in 77222ec
UploadUsingProgrammerResponse
):arduino-cli/rpc/cc/arduino/cli/commands/v1/upload.proto
Lines 120 to 125 in 77222ec
BurnBootloaderResponse
):arduino-cli/rpc/cc/arduino/cli/commands/v1/upload.proto
Lines 152 to 157 in 77222ec
out_stream
ORerr_stream
OR theresult
is part of the response message:UploadResponse
):arduino-cli/rpc/cc/arduino/cli/commands/v1/upload.proto
Lines 64 to 73 in 77222ec
Providing the same dev experience for "similar" APIs would be highly appreciated downstream. Thank you!
Describe the current behavior
There is no consistent API for client streaming requests with stdout/stderr props.
Arduino CLI version
0.35.0-rc.7
Operating system
N/A
Operating system version
n/a
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: