Should an object be entered into the queue each time it is sync'd or should the earliest queue entry be updated to reflect the more recent request?
For example, let's say we create a team with a name -> A request to create that team will be entered into the queue. Don't sync yet.
Do some other things. Don't sync yet.
Then we edit the team and change its name -> Should the original create request be modified to reflect the new name or should the team be created with the original name, then all the intermediate things are done, then finally the name is changed?
I think the solution is to modify the requests in the queue.
Should an object be entered into the queue each time it is sync'd or should the earliest queue entry be updated to reflect the more recent request? For example, let's say we create a team with a name -> A request to create that team will be entered into the queue. Don't sync yet. Do some other things. Don't sync yet. Then we edit the team and change its name -> Should the original create request be modified to reflect the new name or should the team be created with the original name, then all the intermediate things are done, then finally the name is changed?
I think the solution is to modify the requests in the queue.