Documentation correction
- Dominant language
- C#
- Stars
- 1.1k
- Forks
- 155
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
Research direction
Search the documentation for the ViewManager configuration section and the NamespaceTransformations example. Check the documented key/value direction against the reported behavior, then correct the example and explanation so they match. Done when the documentation clearly describes the working configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100