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

Removes floating classes and introduces Dapr.Common project #1365

Merged
merged 8 commits into from
Oct 16, 2024

Conversation

WhitWaldo
Copy link
Contributor

Description

There are a number of classes that have been floating around in "src/Shared" and referenced by the various packages. Another PR #1363 seeks to use a type available in a NuGet package in an update to one of these types necessitating they be in a project now.

It also pulls DaprException from the Dapr.Client project and makes it available more commonly for still other PRs (#1331)

Doing this here so as to make the impact of the PR in #1331 significantly smaller and opens the door to future smaller PRs (e.g. removing the dependency on ArgumentVerifier throughout in favor of the null argument exception API that's built-in).

This should not introduce a breaking change as I updated the namespace for each type to use Dapr as they originally were assigned to. It's just a referential change in each .csproj from a floating file to a referenced project.

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: None

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • [N/A] Extended the documentation

philliphoff
philliphoff previously approved these changes Oct 15, 2024
Copy link
Collaborator

@philliphoff philliphoff left a comment

Choose a reason for hiding this comment

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

LGTM

@WhitWaldo WhitWaldo added this to the v1.15 milestone Oct 16, 2024
@WhitWaldo WhitWaldo merged commit 2365677 into dapr:master Oct 16, 2024
10 checks passed
@WhitWaldo WhitWaldo deleted the shared-project branch October 16, 2024 05:22
humandigital-michiel pushed a commit to humandigital-agency/dapr-dotnet-sdk that referenced this pull request Oct 23, 2024
Extracting classes out to common project

---------

Signed-off-by: Whit Waldo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants