There is sort of a Venn diagram thing going on in mapping JSON objects into [FormBody] led variables at Microsoft.AspNetCore.Mvc controller actions.
The properties in common get kept. The properties at the C# POCO with no dance partners just end up null or sporting a default value. The properties at the JSON object with no dance partners are harmlessly lost/dropped.
No comments:
Post a Comment