Dynamically specify a "firebase" resource in a module

Hi, I want to specify the resource ID as an additional scope for Firebase resources. This feature has been requested in this topic (Dynamically specify a resource in a module), and it seems to work for general resources. However, it doesn't seem to work properly for Firebase resources at the moment. Specifically, while it seems possible to call external functions, link variables, or connect components in the field where the resource ID is entered, it doesn’t work when trying to set a variable obtained from the additional scope. My guess is that for Firebase resources, if the resource ID is invalid (which is naturally the case for variables obtained via additional scope before they are assigned), the query is blocked from running. I’d like this to be fixed so that the resource ID for Firebase resources can be specified using the additional scope.

1 Like

Hi @Yongjin_Kim,

Apologies for the issue. Can you share screenshots of the query and how you are passing in the resource ID via additional scope?

Does this only fail when being run inside a module or have you confirmed that the firebase query is not able to access additional scope outside of modules as well?

I think you guess might be correct, but the query should know that it has to wait and be expecting params via additional scope while building the query before running.

Hi @Yongjin_Kim,

Just wanted to double check on if you still had this issue or if you had any screenshots to share so I can better understand how to help!

Is additional scope the only option for dynamically passing in the resource ID? There may be some other options for storing this in other places where the query can read from if the issue is that additional scope is the cause of the value not being read.