Hi, I'm using Datastore for a flutter app and I have a problem with a one to many relationship: when I'm offline the data is saved the way it's intended but once I turn on an internet connection I get some messages like GraphQLResponse.Error{message='Cannot return null for non-nullable type: 'AWSTimestamp' within parent 'Form' (/updateRegister/form/_lastChangedAt)', locations='null', path='[GraphQLPathSegment{value='updateRegister'}, GraphQLPathSegment{value='form'}, GraphQLPathSegment{value='_lastChangedAt'}]', extensions='null'}, data is successfully uploaded to dynamodb with the right associations but the association is deleted locally after the sync
For example:
Offline
Post a123
Comments (with postID as the foreign key): postID = a123
Online
Post a123
Comments (with postID as the foreign key): postID = null
The only way to get the right associations again is to clear the database and synchronize data from zero