Open rstudner opened 7 years ago
Thanks!
The reason we don’t hit them (I suspect) is that we copy over only known attributes and relationships in the serializer to the final payload, would need to dig in to confirm that.
so TL;DR we should have this validation layer in both places, or make sure the defaults don't remove things they don't understand so that these warnings will be encountered.
code that should have given me warning: https://github.com/emberjs/data/blob/master/addon/-private/system/store.js#L2353-L2358
my result payload:
my model object:
Note that in the payload it is similiar and in the model object similar.