question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot clone functions configs that have arrays

See original GitHub issue

Cloning a config from another project adds an additional \" to the start and end of any string value

Using firebase:config:clone with firebase-tools v3.5.0

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
laurenzlongcommented, May 25, 2017

Closing this issue now since we are not supporting array configs yet. (See https://github.com/firebase/firebase-tools/issues/284). Sorry for the delayed response on this!

0reactions
ahavertycommented, Mar 22, 2017

Thanks @laurenzlong sorry no repro, this one slipped my mind 🙃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Setting functions config with array items · Issue #284 - GitHub
Setting an array in the config produces a http error: firebase functions:config:set ... Cannot clone functions configs that have arrays #283.
Read more >
The problem with array cloning in Javascript (and how to solve ...
Suppose you have to write a function in Javascript that given an array as parameter, it returns a copy. For example: function copy(array) ......
Read more >
Cannot clone my array of objects in JavaScript - Stack Overflow
The only one i found is JSON.parse. I want to understand why people say the method slice cloned arrays. var arr = [{'obj1': ......
Read more >
Clone/Copy an Array in JavaScript and Node.js - Future Studio
Cloning arrays in JavaScript is as straightforward as slice or concat . Please notice, slice creates a shallow clone, not a deep clone....
Read more >
How to Create Constant Maps, Slices, & Arrays in Golang
The quick answer is that Go does not support constant arrays, maps or slices. However, there are some great workarounds.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found