Skip to content

Optimistic locking #104

Answered by wardle
wardle asked this question in Q&A
Oct 25, 2021 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

Thanks Wilker. You are right it is not an issue for pathom directly.

I am half-way between an old world of change-in-place semantics and traditional relational databases with tables that I update and the new world of immutable data accumulating with read-only properties/graphs and operations/actions/mutations as first-class. So anything new I'm building properly, but I have to deal with legacy. But that is fine. I can make optimistic locking a way to make it safe, and it is dependent on the context and the domain how important it is for users to not clash in writing to the same record. Indeed, thinking about more, I realised it isn't something to be left as a default, but an important fir…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@wardle
Comment options

@wilkerlucio
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by wardle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants