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

Remove DialogViewModelBase #1749

Merged
merged 2 commits into from
Mar 25, 2019
Merged

Remove DialogViewModelBase #1749

merged 2 commits into from
Mar 25, 2019

Conversation

brianlagunas
Copy link
Member

Description of Change

ViewModel base classes are too variant in their implementations and I have decided to remove the DialogViewModelBase class. This will force devs to create their own implementation of IDialogAware for their specific app's requirements and needs.

Bugs Fixed

API Changes

Removed:

  • DialogViewModelBase

@brianlagunas brianlagunas merged commit 2507daf into master Mar 25, 2019
@brianlagunas brianlagunas deleted the IDialogService-Updates branch March 25, 2019 20:22
@utech626
Copy link

Brian, this change makes no sense to me. I'm working on a large Geology app with over15 different dialog boxes and I have yet to have to override the DialogViewModelBase class. In my humble opinion, a library is to reduce code and not having to reinventing the wheel, so have a default implementation just makes the Dialog Services easier to implement. Thanks for your work on this, this has been a real time saver.

@brianlagunas
Copy link
Member Author

@utech626 It probably doesn't make sense because you aren't talking to everyone else using it and identifying the various scenarios in which is is used. While it may work perfect for you, it doesn't for a lot more people. It's better not to include this and instead require you to add it to your own project. You are more than welcome to copy/past the code from the initial PR in which it was added.

@lock
Copy link

lock bot commented Jan 28, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants