Skip to content

Commit

Permalink
Merge pull request #570 from Vortex375/master
Browse files Browse the repository at this point in the history
Fix: Version conflict when receiving 'PATCH' action causes record to go into 'MERGING' state indefinitely
  • Loading branch information
jaime-ez committed Jan 10, 2022
2 parents d9d388b + bc6474b commit 4350afe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/record/record-core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -719,6 +719,7 @@ export class RecordCore<Context = null> extends Emitter {
* the full state of the record
**/
this.sendRead()
this.recordServices.readRegistry.register(this.name, this, this.handleReadResponse)
} else {
this.recoverRecordFromMessage(message)
}
Expand Down

0 comments on commit 4350afe

Please sign in to comment.