Add .NET9 Support#10233
Conversation
|
|
||
| @{ | ||
| #nullable enable | ||
| #pragma warning disable IL2111 |
There was a problem hiding this comment.
Seems like a regression, see: https://github.com/dotnet/razor/issues/11203
| /// <typeparam name="T">The type of data represented by each row in this grid.</typeparam> | ||
| [CascadingTypeParameter(nameof(T))] | ||
| public partial class MudDataGrid<T> : MudComponentBase, IDisposable | ||
| public partial class MudDataGrid<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicProperties)] T> : MudComponentBase, IDisposable |
There was a problem hiding this comment.
This is all because of this line:
And we are forced to add this DAM annotation to all DataGrid classes that use generic and are dependent on datagrid class and it's descendants.
Perhaps we would want to redo this feature to not have this annotation almost everywhere in the datagrid.
|
@xC0dex rerunning now net9 is released please recheck logs |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #10233 +/- ##
==========================================
+ Coverage 91.22% 91.51% +0.29%
==========================================
Files 414 413 -1
Lines 12547 12978 +431
Branches 2449 2447 -2
==========================================
+ Hits 11446 11877 +431
Misses 557 557
Partials 544 544 ☔ View full report in Codecov by Sentry. |
|
@mikes-gh LGTM 🚀. |
|
@ScarletKuro LGTM. Just want to check azure hosting is ready |
|
Because we publish self-contained the runtime on azure doesn't matter Therefore, I am inclined to merge this and just see if |
|
|
Thanks for the fixes @mikes-gh |
|
@ScarletKuro Thanks for the PR. |



Description
Blocked by: #10231, MudBlazor/Workflows#8
How Has This Been Tested?
Build locally. Casually tested viewer and docs
Type of Changes
Checklist
dev).