You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the Admin SDK operates with privileges, it can execute any of your queries and mutations regardless of access levels set using @auth directives, including the NO_ACCESS level.
However, it is not possible to pass the output of getDataConnect from firebase-admin/data-connect to a generated doMutationRef as the types don't match up.
Argument of type 'import("/Users/richard/Documents/PrepIt/functions/node_modules/firebase-admin/lib/data-connect/data-connect").DataConnect' is not assignable to parameter of type 'import("/Users/richard/Documents/PrepIt/node_modules/@firebase/data-connect/dist/public").DataConnect'.
Type 'DataConnect' is missing the following properties from type 'DataConnect': dataConnectOptions, isEmulator, getSettings, setInitialized, enableEmulatorts(2345)
The text was updated successfully, but these errors were encountered:
I'm trying to have a firebase function run a mutation for data connect. From reading here: https://firebase.google.com/docs/data-connect/admin-sdk this seems possible:
However, it is not possible to pass the output of
getDataConnect
fromfirebase-admin/data-connect
to a generateddoMutationRef
as the types don't match up.For example when I try do this:
it gives me the following error:
The text was updated successfully, but these errors were encountered: