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

fix: update StateConsistency type to match protobufs #481

Merged
merged 2 commits into from
Jan 19, 2024

Conversation

mikeee
Copy link
Member

@mikeee mikeee commented Dec 7, 2023

Fixes StateConsistency type to match protobufs, at the moment returns undefined for everything due to the logic.

https://github.com/dapr/dapr/blob/ed3417223c5ea4654f38df1fc5abee93e52cea6e/dapr/proto/common/v1/common.proto#L140

@mikeee mikeee requested a review from a team as a code owner December 7, 2023 20:39
Copy link

codecov bot commented Dec 7, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (61158e8) 70.08% compared to head (86e0e89) 70.26%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #481      +/-   ##
==========================================
+ Coverage   70.08%   70.26%   +0.18%     
==========================================
  Files          35       35              
  Lines        2841     2859      +18     
==========================================
+ Hits         1991     2009      +18     
  Misses        738      738              
  Partials      112      112              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

client/state_test.go Outdated Show resolved Hide resolved
@mikeee mikeee closed this Jan 7, 2024
@mikeee mikeee force-pushed the mikeee-fix-stateconsistency-type branch from 152ae88 to 61158e8 Compare January 7, 2024 12:27
@mikeee mikeee reopened this Jan 7, 2024
@mikeee mikeee requested a review from daixiang0 January 7, 2024 13:53
@mikeee
Copy link
Member Author

mikeee commented Jan 8, 2024

Looks like I accidentally committed this to #480 and it was merged. With the latest it implements the recommendations and further unit tests.

@mikeee mikeee requested a review from daixiang0 January 13, 2024 19:48
@yaron2 yaron2 merged commit abe2f81 into dapr:main Jan 19, 2024
7 checks passed
mikeee added a commit to mikeee/dapr_go-sdk that referenced this pull request Jan 19, 2024
* fix: correct state consistency types

Signed-off-by: mikeee <[email protected]>

* fix: add tests to type conversions

Signed-off-by: mikeee <[email protected]>

---------

Signed-off-by: mikeee <[email protected]>
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.

3 participants