Conversation
6e63863 to
725c50d
Compare
456136b to
d0f78f4
Compare
dc8e27a to
c0d94f6
Compare
35cb8e3 to
ba1e95c
Compare
calvernaz
left a comment
There was a problem hiding this comment.
LGTM, nice set of changes. It scares be a bit that amount of work to pull the model into Localstack, given the amount of work just for Model is this much 😅
Thanks! I guess pulling it into LocalStack looks like a lot of work because there was zero validation done on Moto side (so no work at all 😄), and now we have quite a good amount I'd say. Some resources will need even more work, this one wasn't so bad really, but then we can reuse some mechanisms we've encountered already. |
ea9006d to
e1f6be5
Compare
Adjusting parity for
Modelresource.I took the opportunity to move the
Modelresource out of moto and into our own store, as there was no dependency between any other resources, only CRUD API with no validation was implemented in moto.Also fixed the logic while validating the request, we would call
get_modelnot expecting it to raise an Exception.(Same issue as in #7846 for validators, will add a proper test in the mentioned PR)
edit: modified a check in the validation for the model existence (previously in moto, now in our store) that wasn't caught with the tests, will add in a following PR.