Closed RealOrangeOne closed 3 years ago
If the serializer isn't valid, then the incoming data isn't valid, so we shouldn't make models using it.
Falling back to the raw data should be something explicit, so prevent data issues.
Some checks for serialized_data.is_valid have been removed, so might be easier to review ignoring whitespace.
serialized_data.is_valid
If the serializer isn't valid, then the incoming data isn't valid, so we shouldn't make models using it.
Falling back to the raw data should be something explicit, so prevent data issues.
Some checks for
serialized_data.is_valid
have been removed, so might be easier to review ignoring whitespace.