17 questions
-1
votes
1
answer
61
views
How can I change the output folder of the generated SDK in Firebase DataConnect? [closed]
I'm following this codelab. The data-connect folder is generated at app\src\lib\dataconnect-sdk . Is there a way to make the generated sdk be outputted in another folder of my choice? Like C:\...
0
votes
0
answers
33
views
Does Firebase Dataconnect allow for the use of schema-defined types in arguments?
When implementing the "schema for a movie review app", exactly as per the documentation for data connect provided here:
https://firebase.google.com/docs/data-connect/schemas-guide#movie-...
0
votes
0
answers
28
views
transactions not working with joined tables
In my schema, I have defined user as:
type User @table (key: "uid"){
uid: String! @default(expr: "auth.uid")
name: String!
createdAt: Timestamp! @default(expr: "request....
0
votes
0
answers
26
views
Increasing a value inside a joined table behaves unexpectedly
In my schema I defined a user:
type User @table{
id: String! @default(expr: "auth.uid")
createdAt: Timestamp! @default(expr: "request.time")
}
and potion table:
type Potion @...
1
vote
1
answer
49
views
Data Connect GQL schema - can't init SDK
I'm trying to get started with Data Connect -- just a "hello world". But when I click Run firebase init in VS Code, I get this error:
Failed to generate SDKs:
[schema] invalid Data Connect ...
2
votes
1
answer
136
views
Intermittent "UNAUTHENTICATED: this operation requires a signed-in user" Error with Firebase Data Connect on Android Despite User being Logged In
Background information
I'm using Firebase Data Connect and Firebase Authentication in my Android app. I also have Firebase App Check integrated, but it is currently set to unenforced mode.
Users are ...
0
votes
0
answers
38
views
No CodeLens buttons appear in VS Code with Data Connect
I'm trying to setup DataConnect for my Flutter app. I'm following these instructions: https://firebase.google.com/docs/data-connect/quickstart?userflow=automatic#code-examples
I'm stuck at step 8:
&...
0
votes
0
answers
124
views
Issue with Firebase DataConnect breaking on query with limits of 100 fields
When building simple select queries in GraphQL (really simple ones), the query is being transformed to a function, sending the values through as parameters.
We ran into instances where the select for ...
2
votes
1
answer
78
views
Firebase dataconnect mutation nested create
How can I insert into orgnanization and make sure that each time a member is created as the Admin of this organization?
I can't seem to make the correct mutation insert.
Below is the main Organization ...
1
vote
0
answers
44
views
Firebase Dataconnect how to return more data while using implicit mutations
In schema I have
type Organization @table {
id: UUID! @default(expr: "uuidV4()")
slug: String! @col(dataType: "varchar(255)") @unique @index
name: String! @col(dataType:...
2
votes
0
answers
102
views
Nested one-to-one insert in Firebase DataConnect?
I d like to insert my Product and create its name in the Localized String table in the same operation.
mutation CreateProduct {
product_insert(
data: {
name: localizedString_insert(
...
3
votes
2
answers
73
views
<function name> error: FirebaseError: Firebase: No Firebase App '[DEFAULT]' has been created - call initializeApp() first (app/no-app)
I am building a web app using firebase local emulation. I have firebase authentication working but I'm getting errors that don't make sense when trying to query my database.
Here is the relevant ...
1
vote
0
answers
46
views
Firebase Data connect Reference Error in Schema
I have the following schema
type Store @table(key: "id") {
id: String! # Unique store ID
name: String! # Store name
location: String # Store ...
1
vote
1
answer
169
views
How to add seed data using graphQL mutations in Firebase Data Connect
I have a self-referencing schema:
type Category @table(name: "Categories", singular: "category", plural: "categories", key: ["id"]) {
id: UUID! @default(expr: ...
5
votes
1
answer
400
views
Firebase Data Connect - insert many
I'm evaluating Firebase Data Connect and I'm stuck at a very basic task when using the insertMany functionality.
I would like to create a mutation that assigns permissions to a new role in the system. ...
2
votes
1
answer
689
views
How to integrate Firebase Data Connect with Cloud Functions [closed]
Is it possible to integrate Data Connect with Cloud Functions? The only mention in the docs that comes close is this:
https://firebase.google.com/docs/data-connect/admin-sdk
1
vote
1
answer
356
views
How to resolve the Firebase DataConnect error about disabled "mobilesdk-pa.googleapis.com" Mobile SDK API
friends. I'm trying to deploy Firebase Dataconnect with the help of Github Actions. I constantly receive the following error:
Mobile SDK API has not been used in project 989370034304 before or it is ...