-
Notifications
You must be signed in to change notification settings - Fork 218
Use state serializer content type when saving actor states. #1033
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
Use state serializer content type when saving actor states. #1033
Conversation
4be8853
to
0dac76a
Compare
I am want to take this PR, although it is a breaking change. |
Be my guest. Thanks for take it. |
Did I understand correctly that @artursouza will take this PR to the goal? |
@artursouza Qq if state serializer is used when serializing, shouldn't there be an option during desirialization as well? |
Can you elaborate because this PR is just about setting the content type. |
Sorry for the ambiguity. By taking this PR, I meant accepting it. But the validation is failing. |
Ah sorry, I missed your answer. Perhaps some NPE exception somewhere, I can have a look |
9263698
to
7c5f139
Compare
Signed-off-by: Antonio Sanchez <[email protected]>
8193db5
to
74d944a
Compare
Dapr side car doesn't seem to like the content type if the state is null. I checked for it. Please review @artursouza |
@mukundansundar did you have time to review this MR? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1033 +/- ##
============================================
+ Coverage 76.91% 77.66% +0.74%
+ Complexity 1592 1572 -20
============================================
Files 145 144 -1
Lines 4843 4768 -75
Branches 562 554 -8
============================================
- Hits 3725 3703 -22
+ Misses 821 780 -41
+ Partials 297 285 -12 ☔ View full report in Codecov by Sentry. |
I don't see the button "Merge PR", is it because the branch is out of date? or because I don't have access to merge a PR ? |
Only maintainers have the ability to merge - cc: @artursouza plz take another pass |
@holopin-bot @antoniomaria Thank you! |
Congratulations @antoniomaria, the maintainer of this repository has issued you a badge! Here it is: https://holopin.io/claim/clzva93ay23590cihiek76he3 This badge can only be claimed by you, so make sure that your GitHub account is linked to your Holopin account. You can manage those preferences here: https://holopin.io/account. |
Description
Use state serializer content type when saving dapr states.
Issue reference
Please reference the issue this PR will close: #1031
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: