Cannot clone functions configs that have arrays
See original GitHub issueCloning 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:
- Created 7 years ago
- Comments:7 (4 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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!
Thanks @laurenzlong sorry no repro, this one slipped my mind 🙃