You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
Request: http://localhost:5001/Customers/Create?Id=10&Name=John Result: 200 OK response with body having {"Id":10,"Name":"John","Address":null}
Request: http://localhost:5001/Customers/Create?Id=10&Name=John&Address.City=Redmondddddddddddddddd Result: 400 Bad Request with error {"Address.State":["The State field is required."]}
Request: http://localhost:5001/Customers/Create Result: 400 Bad Request with error {"Name":["The Name field is required."]} NOTE: For this case I excluded the type Customer itself
Expected: For the 2nd case, the data should be bound successfully without any validation errors and for the 3rd case the model should be null without any validation errors?