dotnet-presentations / blazor-workshop

Blazor workshop
https://aka.ms/blazorworkshop
MIT License
3.5k stars 1.56k forks source link

Nullable #365

Closed EdCharbeneau closed 1 year ago

EdCharbeneau commented 1 year ago

This PR is to address the lack of Nullable context in the workshop. Fixes issue #105

Nullable context was enabled on all projects: Client, Server, Shared, Component Libs.

Nullable was used in an unopinionated way through the examples. Only the minimum required changes were made to the codebase to ensure the focus of the demo was Blazor and not "nullable patterns". EditorRequired was also added to some parameters to help enforce nullable concerns, although this isn't a bulletproof solution.

Some additional issues were resolved: Fixes issue #358 , Fixes issue #238 (related) Fixes issue #364 Fixes issue #344