PR #31 fixes a sync issue but does so in a way that RecordsWrite overwrites that mutate one of the 5 mutable properties other than data are unintentionally processed by the DWN SDK's synchronizePrunedInitialRecordsWrite() method.
Issue created to track follow-through with one of the two following changes:
dwn-sdk-js change would be to modify the synchronizePrunedInitialRecordsWrite() method signature to take as input a RecordsWrite message with no associated data && a RecordsDelete.
dwn-server and web5-js modification to introduce a new endpoint / RPC handler that is dedicated to sync so that RecordsWrite overwrites that mutate properties other than data don't flow through synchronizePrunedInitialRecordsWrite() unintentionally.
PR #31 fixes a sync issue but does so in a way that
RecordsWrite
overwrites that mutate one of the 5 mutable properties other than data are unintentionally processed by the DWN SDK'ssynchronizePrunedInitialRecordsWrite()
method.Issue created to track follow-through with one of the two following changes:
dwn-sdk-js
change would be to modify thesynchronizePrunedInitialRecordsWrite()
method signature to take as input aRecordsWrite
message with no associated data && aRecordsDelete
.dwn-server
andweb5-js
modification to introduce a new endpoint / RPC handler that is dedicated to sync so thatRecordsWrite
overwrites that mutate properties other than data don't flow throughsynchronizePrunedInitialRecordsWrite()
unintentionally.