Open kmindi opened 9 years ago
Can it also support multiple values in the keys as an array? So this:
2018-03-21 Do something tag:foo tag:bar id:doit
would give:
item.metadata = { 'tag': ['foo', 'bar'], 'id': 'doit' }
I can also see a couple of other ways of working with multiple values: just using the last one, or always using an array. I think multiple values is very rare, though.
Should it also have addMetadata(key, value)
and removeMetadata(key)
?
There should be generic support for the specified metadata.
The metadata could be contained in a list in the item like the context/project-arrays: