Hi,
When I'm setting labels as arguments and the first argument is an array:
someCounter.labels(arr, string1, string2)
it is considered as an object and throws Added label "0" is not included in initial labelset.
I found that there is a condition if (typeof args[0] === 'object') but it might also check that it is not an array.
I've upgraded from v12 to v14 (but it happens in v13 also).
Thanks
Hi,
When I'm setting labels as arguments and the first argument is an array:
it is considered as an object and throws
Added label "0" is not included in initial labelset.I found that there is a condition
if (typeof args[0] === 'object')but it might also check that it is not an array.I've upgraded from v12 to v14 (but it happens in v13 also).
Thanks