Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] Add eTag support for transaction-like functionality using the REST API #149

Open
WolfgangSenff opened this issue Mar 2, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request Hacktoberfest

Comments

@WolfgangSenff
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
Currently, with the realtime database, we do not support actual transactions, even though Firebase itself does. We do not support them because the REST API's approach to transactions is convoluted, at best.

Describe the solution you'd like
I'd like to utilize the built-in support they have for eTags so that we can guarantee that if an item is modified at the same time another is, the modification does not cause conflicts.

Describe alternatives you've considered
None, really - this is nearly impossible to handle perfectly with alternatives.

Additional context
https://firebase.googleblog.com/2017/07/introducing-conditional-rest-requests.html

@WolfgangSenff WolfgangSenff added the enhancement New feature or request label Mar 2, 2021
@WolfgangSenff WolfgangSenff self-assigned this Mar 2, 2021
@WolfgangSenff WolfgangSenff changed the title Add eTag support for transaction-like functionality using the REST API [FEATURE REQUEST] Add eTag support for transaction-like functionality using the REST API Oct 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Hacktoberfest
Projects
None yet
Development

No branches or pull requests

1 participant