-
-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Description
High-level description
I've migrated my code to F# 9 compiler and nullability support
Expected or desired behavior
You can pick my changes if you want the same migration
Ecierge/Elmish.Uno#1
Additional Information
The other question is should we restrict a model and a message on a view model to be non-null?
type DynamicViewModel<'model, 'msg when 'model : not null and 'msg : not null>
( args: ViewModelArgs<'model, 'msg>,
bindings: Binding<'model, 'msg> list)
type ViewModelBase<'model, 'msg when 'model : not null and 'msg : not null>(args: ViewModelArgs<'model, 'msg>)https://github.com/Ecierge/Elmish.Uno/blob/be64c50b6b7cca1ac774704145e09fd17ee4cf3f/src/Elmish.Uno/ViewModels.fs#L143
https://github.com/Ecierge/Elmish.Uno/blob/be64c50b6b7cca1ac774704145e09fd17ee4cf3f/src/Elmish.Uno/ViewModels.fs#L359
Metadata
Metadata
Assignees
Labels
No labels