BurkusCat / Burkus.Mvvm.Maui

A simple MVVM framework for .NET MAUI. It provides: navigation, lifecycle events, parameter passing, native dialog abstractions, and testability.
MIT License
25 stars 5 forks source link

[Feature] Simpler setup: Resolving viewmodels for views #9

Open BurkusCat opened 11 months ago

BurkusCat commented 11 months ago

Is your feature request related to a problem? Please describe. The ResolveBindingContext markup extension is a bit verbose and requires you to repeat the x:DataType= that you may already have. Is there any way this can be made simpler?

Describe the solution you'd like A one line solution that sets the datatype and resolves the viewmodel would be brilliant. Not all users use x:DataTypes in their apps currently so they would see added benefits of improved binding performance + compile time errors for binding failures.

Describe alternatives you've considered N/A

Proposed APIs N/A

Additional context N/A