Skip to content

[data-connect] How to run existing DataConnect Queries & Mutations from firebase-admin/data-connect #2886

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

Closed
jmietzITZ opened this issue Mar 26, 2025 · 2 comments
Assignees

Comments

@jmietzITZ
Copy link

In the documentation it is stated, that it is possible to run existing DataConnect Queries & Mutations from the firebase-admin/data-connect SDK.

However in the docs it is only described how to run "raw" graphql queries & mutations.
And as far as i can tell from looking at the code, that is all that is implemented regarding dataConnect.
Even when importing the "normal" dataconnect library and trying to use the existing queries & mutations from there, it results in errors.

Is it just not possible or is there any way, which just is not documented?

@google-oss-bot
Copy link

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not seem to follow the issue template. Make sure you provide all the required information.

@lahirumaramba
Copy link
Member

The Admin SDK currently does not support running generated queries and mutations. We currently do not have a timeline on the release but this feature request is on our radar and we are actively looking into it.

The part on the documentation you highlighted in the link is for arbitrary GraphQL queries, which are currently supported by the Admin SDK.

I will close this issue for now as it is a duplicate of #2823 and we will use #2823 to track any progress on this. Thanks!

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