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

Update proto files for 0.8.0 #16

Merged
merged 5 commits into from
May 27, 2020

Conversation

gdhuper
Copy link
Member

@gdhuper gdhuper commented May 23, 2020

Description

Updating proto files (runtime/v1/dapr.proto and common/v1/common.proto) for 0.8.0 release.

Issue reference

This PR will fix #15 upon successful merge.

Checklist

  • Update proto files
  • Update client code
  • Code compiles correctly
  • Update docs / examples
  • End-to-end tests passing

@gdhuper
Copy link
Member Author

gdhuper commented May 23, 2020

@youngbupark I updated the proto files according to dapr/proto. Can you verify if those two are the only proto files (dapr.proto and common.proto) that need to be updated for this milestone? Thanks

@youngbupark
Copy link
Contributor

@youngbupark I updated the proto files according to dapr/proto. Can you verify if those two are the only proto files (dapr.proto and common.proto) that need to be updated for this milestone? Thanks

Yes, we need to update only two files in this milestone.

@gdhuper gdhuper marked this pull request as ready for review May 27, 2020 07:44
@gdhuper gdhuper changed the title WIP: update proto files 0.8.0 Update proto files for 0.8.0 May 27, 2020
Copy link
Contributor

@youngbupark youngbupark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution. Overall LGTM. Please see my comment.

src/error.rs Outdated
@@ -24,13 +24,13 @@ impl From<TonicError> for Error {

impl From<TonicStatus> for Error {
fn from(_error: TonicStatus) -> Self {
Error::GrpcError(GrpcError { status: _error })
Error::GrpcError(GrpcError { error: _error })
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you have the reason to rename from status to error? status makes more sense to me if it includes gRPC status code and its details.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right, status makes more sense. I changed to error because of the struct name GrpcError. I'll revert it to status. Thanks

@youngbupark
Copy link
Contributor

youngbupark commented May 27, 2020

Thanks for your contribution!

@youngbupark youngbupark merged commit a627be9 into dapr:master May 27, 2020
cscetbon pushed a commit to cscetbon/rust-sdk that referenced this pull request Jan 20, 2024
* fixed clippy warnings, moved imports to top

* WIP: update proto files for 0.8.0, updating client in progress,

* update client code for new proto

* Update client example, README, added code comments

* revert error to status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update proto files for 0.8.0 release
2 participants