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

Implements Transactions to Firestore #66

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

evandrobubiak
Copy link

This PR implements the issue #59

  • Implemented Transactions with functions: get, getAll, set, update, delete, create.
  • Implements error handling for Firestore errors.
  • Created tests for Transactions.

Code was made to stick to a port of the official NodeJS implementation as much as possible.
https://github.com/googleapis/nodejs-firestore/blob/07a88420062c428b04d61638c6ba432422e01652/dev/src/transaction.ts

@Jonas-Sander
Copy link

Very cool! Maybe tag some of the maintainers for a review? Seems like they don't get assigned automatically.
(I'm just coming by ur PR by chance, not part of the team)
Thanks for your work, if this eventually gets merged :)

@evandrobubiak
Copy link
Author

@rrousselGit could help in reviwing this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants