Expected Behavior
Please describe the expected behavior of the issue, starting from the first action.
1.I make an object with firstName property being an empty string
2.I post a student object
3.I get a message that the validator failed
Actual Behavior
1.I make an object with firstName property being an empty string
2.I post a student object
3.The object is successfully created
The problem is that if I post the object with a FirstName property (which is the name in the database), the validator works correctly (it accepts anything other than an empty string). If I post it with FirstName with any of the characters in a different case, the object is created (with the invalid value). If I am missing the field, I get an error that the field does not have a default value. If I put something in the fiRStNamE field, it is saved. Is this a bug? Can I fix it so if someone tries to post a value to fiRStNamE, that value is validated?