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
Hey @dee-gmiterko. It's not recommended to use the value of a param outside of a function. Does this reproduce within a function? If you require to access the value to initialize anything before running the actual functions, you can use the new onInit function for this purpose
Hey @dee-gmiterko. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 3 days I will close it automatically.
If you have more information that will help us get to the bottom of this, just add a comment!
Since there haven't been any recent updates here, I am going to close this issue.
@dee-gmiterko if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.
Related issues
[REQUIRED] Version info
node:
v20.10.0
firebase-functions:
4.7.0
firebase-tools:
12.5.2
firebase-admin:
12.0.0
[REQUIRED] Test case
index.js
.env
listParam.value()
returns["a", "b", "c"]
['["a"', '"b"', '"c"]']
not parsing JSON, but splitting on commas[REQUIRED] Expected behavior
To have
defineList
behavior be consistent across emulator and production, and documented.[REQUIRED] Actual behavior
defineList
parses value in .env file differently causing it to became['["a"', '"b"', '"c"]']
.Were you able to successfully deploy your functions?
Yes, but behaves unexpectedly.
The text was updated successfully, but these errors were encountered: