dynamorm icon indicating copy to clipboard operation
dynamorm copied to clipboard

Marshmallow validate not working when using data_key

Open prusayn opened this issue 5 years ago • 1 comments

I tried to use data_key for Marshmallow fields, because I receive data from dynamoDB with camel case names. When I run validate() on model then it show me that it can't find required field (fields with data_key were required). It's funny because I can see variables in model object.

prusayn avatar Dec 04 '19 04:12 prusayn

Can you please share example code that shows your Model and how you are loading & querying data? It will better help understand what's not working as you expect.

borgstrom avatar Feb 06 '20 01:02 borgstrom