Voyager
Voyager copied to clipboard
Property name not respected when using FromRoute
When you use something like this:
[FromRoute(Name="world")] public string Hello {get;set;}
In combination with a validator, the validation errors will mark the erroneous field with "Hello" instead of the "world" property. The only way to change this, is to write a validator with ".WithName("world").OverridePropertyName("world");"
Is this intended behaviour? If not, i'll gladly try to contribute.
No, that looks like a bug.
Fixed in 0.17.1