Replies: 2 comments 11 replies
-
(1) certainly makes sense, the other options sounds a bit more complex, (2) could make sense, but we'd expect lots of failure since bundles should reflect dependencies, but maybe those failures are OK, we don't lose anything with the failure (other than time), (3) would be a way to do (2) more effectively, if there's an existing libraries that creates a dependency graph of resources, and converts that graph into bundles, that'd be ideal. @ellykits can you add some insight on how sync is done now, link to where that is in the code, and your thoughts on low effort ways to let sync complete for anything that does not fail (eg not fail all on single fail) |
Beta Was this translation helpful? Give feedback.
-
Exploring options of uploading all data to HAPI then running validations server-side as documented here |
Beta Was this translation helpful? Give feedback.
-
Currently, the sync API operates on the principle of all or none this means if we have client-side resource changes that require sync up the API will attempt to batch all in a bundle that can entirely either succeed if all checks are passed or fail. This hinders data sync to the server side from this client completely until the issue is resolved from the client side, this issue is to try to figure out ways of changing the sync mechanism to eliminate stopping sync completely because of a few malformed/failing resources.
Options to discuss are;
Beta Was this translation helpful? Give feedback.
All reactions