Closed seocahill closed 5 years ago
Sidepost Child A and Child B on Parent, (method: ‘update’)
If Child A is invalid and Child B is valid I get 200 and the fully patched response for all models, although Child A will not in fact be persisted.
If I remove Child B (the valid one) and sidepost again I get the expected 422 and an errors hash.
This fix is copied from https://github.com/graphiti-api/graphiti/issues/38
@seocahill looks great, but lets make sure to add the passing tests before merging.
apologies for the delay @richmolj - should be good to go now.
Thanks @seocahill! Released in 0.11.32
0.11.32
Sidepost Child A and Child B on Parent, (method: ‘update’)
If Child A is invalid and Child B is valid I get 200 and the fully patched response for all models, although Child A will not in fact be persisted.
If I remove Child B (the valid one) and sidepost again I get the expected 422 and an errors hash.
This fix is copied from https://github.com/graphiti-api/graphiti/issues/38