Skip to content
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

Evaluate the performance impact of having ViewModels validation always enabled #144

Open
mauroservienti opened this issue Jan 3, 2020 · 0 comments
Projects
Milestone

Comments

@mauroservienti
Copy link
Member

Enabling validation is a two steps process:

  1. implement on user ViewModel(s) the IRequireValidation interface (it behaves like a marker interface as it's already fully implemented on the base abstract view model
  2. set the desired validation service, e.g. DataAnnotationValidationService

Could be interesting to evaluate the impact of removing the need for step 1, the result is that WPF will always invoke the validation process that being by default implemented using the NullValidationService will yield no errors but simply consume a few CPU cycles. The pro is that implementing validation would be much simpler for users.

@mauroservienti mauroservienti added this to the 2.0.0 milestone Jan 3, 2020
@mauroservienti mauroservienti modified the milestones: 2.0.0, 2.1.0 Jan 3, 2020
@mauroservienti mauroservienti added this to Backlog in Radical Jan 26, 2020
@mauroservienti mauroservienti removed this from the 2.1.0 milestone Sep 28, 2020
@mauroservienti mauroservienti added this to the 3.0.0 milestone Sep 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Radical
  
Backlog
Development

No branches or pull requests

1 participant