Open jvalcke opened 8 years ago
You are correct and you are not overlooking anything.
Unlike pretty much all other attributes, tags is an array and so setting the array value means simply that you set the entire array to a given value (which is also an array). This would overwrite any previous value, much like setting the description would overwrite the old description value.
We could definitely add it so that the list of tags can be modified much like extra-attributes can be added / removed individually.
I noticed that it's not possible to add tags to a prefix. The only option via the cli is to set tags, which removes previously defined tags.
Adding tag 'test1'
Adding, actually setting tag 'test2', removes tag 'test1'
Is their a way to add tags (keep the existing tags untouched)? Looks like the only add option is extra-attribute
Am I overlooking something?