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

[Firestore] ReadWriteTransactionOptions missing from firebase-admin/firestore export. #1874

Closed
naodya opened this issue Aug 17, 2022 · 2 comments
Assignees

Comments

@naodya
Copy link
Contributor

naodya commented Aug 17, 2022

[READ] Step 1: Are you in the right place?

Cloud Firestore support is provided by the @google-cloud/firestore library. Therefore the easiest and most efficient way to get Firestore issues resolved is by directly reporting them at the nodejs-firestore GitHub repo.

If you still think the problem is related to the code in this repository, then read on.

  • For issues or feature requests related to the code in this repository
    file a Github issue.
  • For general technical questions, post a question on StackOverflow
    with the firebase tag.
  • For general Firebase discussion, use the firebase-talk
    google group.
  • For help troubleshooting your application that does not fall under one
    of the above categories, reach out to the personalized
    Firebase support channel.

[REQUIRED] Step 2: Describe your environment

  • Operating System version: macOS Monterey (Version 12.5)
  • Firebase SDK version: firebase-admin@11.0.0
  • Firebase Product: Firestore
  • Node.js version: 16
  • NPM version: 8.11.0

[REQUIRED] Step 3: Describe the problem

ReadWriteTransactionOptions is not exported from firebase-admin/firestore however available in @google-cloud/firestore

Steps to reproduce:

Try importing ReadWriteTransactionOptions from firebase-admin/firestore

What happened? How can we make the problem occur?
This could be a description, log/console output, etc.

You can enable logging for Firestore by including the following line in your code:

admin.firestore.setLogFunction(console.log);

This will print Firestore logs to the console.

Relevant Code:

import { ReadWriteTransactionOptions } from 'firebase-admin/firestore';
@google-oss-bot
Copy link

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

naodya added a commit to naodya/firebase-admin-node that referenced this issue Aug 17, 2022
@lahirumaramba lahirumaramba self-assigned this Oct 17, 2022
lahirumaramba added a commit that referenced this issue Oct 28, 2022
…1874) (#1875)

* fix(firestore): added missing export (#1874)

* run api-extractor

Co-authored-by: Lahiru Maramba <llahiru@gmail.com>
@lahirumaramba
Copy link
Member

Fixed in #1875

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

No branches or pull requests

3 participants