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

Documentation correction #259

Open
ModernRonin opened this issue May 23, 2021 · 0 comments
Open

Documentation correction #259

ModernRonin opened this issue May 23, 2021 · 0 comments

Comments

@ModernRonin
Copy link

Hi,

in the documentation about configuring ViewManager it says:

NamespaceTransformations: this is a dictionary of from -> to substitutions, and allows your Views and ViewModels to live in different namespaces. If your Views live in "Foo.Frontend.Views" and your ViewModels live in "Foo.FrontendLogic.ViewModels", you could add an entry to this dictionary with the key "Foo.Frontend" and the value "Foo.FrontendLogic"

So, basically, that the dictionary entries have the view paths as keys and the viewmodel paths as values.

But I just noticed it's the other way round: for it to work, the key must the path to the viewmodels and the value the path to the views. (Also makes sense as the ViewManager is locating the views for the viewmodels.

Cheers,
MR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant