Use the model binding configuration to map PropertyInfo to its input name in Json / query param
I don't want to duplicate any logic that aspnet core does itself. I want to get the name of the json property or a property from whatever other source that it would bind to the given property. This ideally should work for property paths, so nested models can be interpreted correctly.
0 Replies