Skip to content

Conversation

@WhitWaldo
Copy link
Contributor

@WhitWaldo WhitWaldo commented Jun 21, 2025

Description

There are some places where it makes sense to mark things as [Obsolete], but it'd be nice to reserve that attribute only for those places where something is truly obsolete and not recommended as a path going forward. It's all we've had to date to mark non-stable functionality, but with the shift to .NET 8 as the minimal version, this brings with it two new attributes: [Experimental] and [RequiresPreviewFeatures].

The latter has more to do with C# language features, so we'll instead opt to use the [Experimental] flag here with the identifier setup "DAPR_{block}" (e.g. DAPR_CONVERSATION so that developers can easily suppress warnings about it with a common identifier across the whole of the block instead of having a separate number for every method within it as it's expected that whole types will be certified instead of individual methods.

This issue is intended to replace the previous experimentation done at #1487

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: #1219

Checklist

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

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

@WhitWaldo WhitWaldo added this to the v1.16 milestone Jun 21, 2025
@WhitWaldo WhitWaldo self-assigned this Jun 21, 2025
@WhitWaldo WhitWaldo requested review from a team as code owners June 21, 2025 07:59
@WhitWaldo WhitWaldo added kind/enhancement New feature or request area/client labels Jun 21, 2025
@WhitWaldo WhitWaldo moved this to In progress in v1.16 Release Tracking Board Jun 21, 2025
@WhitWaldo WhitWaldo merged commit 5e8e88d into dapr:release-1.16 Jun 21, 2025
8 checks passed
@github-project-automation github-project-automation bot moved this from In progress to Done in v1.16 Release Tracking Board Jun 21, 2025
@WhitWaldo WhitWaldo deleted the experimental-attr branch June 21, 2025 09:42
WhitWaldo added a commit to WhitWaldo/dapr-dotnet-sdk that referenced this pull request Aug 12, 2025
* Replaced Obsolete with Experimental attributes throughout solution, added documentation and updated unit tests
WhitWaldo added a commit to WhitWaldo/dapr-dotnet-sdk that referenced this pull request Aug 13, 2025
* Replaced Obsolete with Experimental attributes throughout solution, added documentation and updated unit tests
WhitWaldo added a commit to WhitWaldo/dapr-dotnet-sdk that referenced this pull request Aug 13, 2025
* Replaced Obsolete with Experimental attributes throughout solution, added documentation and updated unit tests
WhitWaldo added a commit to WhitWaldo/dapr-dotnet-sdk that referenced this pull request Aug 13, 2025
* Replaced Obsolete with Experimental attributes throughout solution, added documentation and updated unit tests
WhitWaldo added a commit to WhitWaldo/dapr-dotnet-sdk that referenced this pull request Aug 13, 2025
* Replaced Obsolete with Experimental attributes throughout solution, added documentation and updated unit tests

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

Labels

area/client kind/enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant