Allow MetaData to store dictionaries and arrays
- Dominant language
- Go
- Stars
- 30.1k
- Forks
- 4.6k
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 39
Description
#### Feature Description
Is there a reason the metadata KV store is limited to strings?
I'd really like to be able to also store arrays or dictionaries containing more metadata about a given service.
#### Use Case(s)
- Storing a list of authors for a component
- Storing dependents and their versions
We use the register meta section to store descriptions for a connected service, but have to store other info in a database instead.
Contributor guide
Research direction
Start by locating Consul's metadata KV store and register meta entry points; no files or tests are identified in the issue. Review how string values are represented and validated, then define compatible array and dictionary handling for the listed author and dependent-version use cases, with tests covering the new metadata shapes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100