DEV Community

Discussion on: Complete Guide to Amplify and Next.js

Collapse
 
axiommike profile image
Michael Cameron • Edited

Thank you for this. FYI my updateUser mutation was not working. After hours of trying to debug I found I had conflict detection turned on which seems to be what was causing issue so I ran amplify update api and went into additional settings and said No to conflict detection and that solved issue. Still not clear on what conflict detection does. :) Thanks!

  • Hope this helps someone else who runs into same issue
Collapse
 
adnansmajlovic profile image
Adnan Smajlovic

Sorry for barging in here, and it might be too late, but a conflict detection is used for DataStore if you want your application to work offline as well. So, when your app gets back online again, it synchronizes the data, and resolves potential conflicts.

Reference: docs.amplify.aws/lib/datastore/con...