作者:mobiledu2402851323 | 来源:互联网 | 2024-10-20 02:18
If my web framework receives a PUT request with only modified data how would you suggest i deserialize those updates & merge the fields of the already persisted model so validations work?
It's almost like I'd need to load the already persisted unmodified model into the schema object then deserialize the modifications onto the schema object. Then validate. I'm probably confused but looking for advice. Thanks.
该提问来源于开源项目:marshmallow-code/marshmallow
nice idea. Thanks for getting back to me.