c# - Does Nancy model bind to fields as per the documentation or not? -
i have tried simple nancy example model binding , documentation (https://github.com/nancyfx/nancy/wiki/model-binding) says fields usable properties, in practice seem bind when use properties.
is documentation right (if so, why isn't model binding?) or documentation wrong (if so, why?)
model binding fields wasn't supported until v1. long you're using v1 or newer should work out of box. if doesn't provide code reproduces issue along version of nancy you're using?
since documentation targets recent version can confusing features supported in each version. @ moment best place find version information changes on breaking changes page.
Comments
Post a Comment