-
Notifications
You must be signed in to change notification settings - Fork 335
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
Throw better exceptions when invalid actor interfaces are used. #1148
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Phillip Hoff <[email protected]>
433a1ff
to
ed23f26
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #1148 +/- ##
==========================================
- Coverage 66.53% 66.52% -0.02%
==========================================
Files 171 171
Lines 5752 5756 +4
Branches 626 628 +2
==========================================
+ Hits 3827 3829 +2
- Misses 1776 1777 +1
- Partials 149 150 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@@ -14,6 +14,7 @@ | |||
namespace Dapr.Actors.Client | |||
{ | |||
using System; | |||
using System.Globalization; |
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.
Since we're here, do you mind moving these imports outside of the namespace?
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.
Sure!
Description
Verifies that actor interfaces used to create actor proxies actually:
IActor
When interfaces are used that do not meet those requirements, a less cryptic error message is generated.
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #859
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: