[Feature] Microsoft.Toolkit lacks nullability annotations (and others) #3436
Labels
feature request 📬
A request for new changes to improve functionality
improvements ✨
.NET
Components which are .NET based (non UWP specific)
Milestone
Uh oh!
There was an error while loading. Please reload this page.
Overview
I was going through the codebase for the main
Microsoft.Toolkit
package while reading #3315 and noticed the package has a few inconsistencies and issues now compared to the other .NET Standard packages (especiallyMvvm
andHighPerformance
):[Pure]
when needed)string
extensions are fine withnull
parameters and in that case just returnnull
. Some are fine withnull
inputs but always return nonnull
. Some just crash. The behavior should just be made consistent with all (I'd say they should just accept a non nullablestring
and crash if one is received).Describe the solution
I can make a PR to address these various points if that's fine for you guys.
@azchohfi if it makes things easier, should I wait for yours or some other PR to be merged in first (to avoid conflicts) or is that not important and I can just branch off of
master
when I have some time and start working on this?P.S. @michael-hawker opened an issue first this time 🙈
The text was updated successfully, but these errors were encountered: