-
Notifications
You must be signed in to change notification settings - Fork 96
Updated MudBlazor to 9.0.0-preview.2 #589
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
Conversation
Codecov Report❌ Patch coverage is ❌ Your patch status has failed because the patch coverage (60.00%) is below the target coverage (90.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## dev #589 +/- ##
==========================================
- Coverage 67.98% 67.96% -0.02%
==========================================
Files 106 105 -1
Lines 7412 7405 -7
Branches 1277 1276 -1
==========================================
- Hits 5039 5033 -6
+ Misses 1897 1896 -1
Partials 476 476 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
MudWheel also broke after new Converter change on MudBlazor, i also fixed it. Thanks 🥇 |
|
Should have migrated that Line 20 in d3035ec
and Line 256 in d3035ec
To use GetDefaultConverter() as well.And make the normal one Converter { get; set; } = null
The idea was that the default is |
|
Where should we call GetDefaultConverter, in component constructor? In MudWheel, i changed Converter.Convert to ConvertSet method, because converter is null now. Probably i still miss how users override Converter. What's the correct way to set initial value to Converter parameter? |
Nowhere. It will be automatically handled by MudFormComponent
Just like usual, via setting the Converter parameter. |
But in MudWheel.razor Converter.Convert method throws null reference exception due to Converter. Should we only use ConvertGet and ConvertSet methods? |
Yes. If you have trouble accessing it (because it’s protected) from other child components and you need the parent’s converter, you can make a public or internal one in the parent that calls ConverterGet / ConverterSet. |
|
Actually I looked the code closer, most components inherit from Is fine and using The only problem with that I see, is that Converter doesn't handle conversion exceptions anymore, it bubbles up, and |
No description provided.