elastic / elastic/elasticsearch-specification
OrderedDictionary<T>
Open
compiler
enhancement
- Dominant language
- TypeScript
- Stars
- 158
- Forks
- 136
- Avg merge
- 19h 48m
- Merged PRs (30d)
- 54
Description
## 🚀 Feature Proposal
Add a new builtin dictionary type `OrderedDictionary` that can be used instead of `Dictionary` when the order of items is important.
## Motivation
Some dictionaries require a fixed order (e.g. `aggregations`), but currently we do not model this fact at all.
This is quite special since the JSON spec does not make any guarantees about the order of properties in an object, but still Elasticsearch relies on that.
Contributor guide
Assessment
This issue has not been assessed yet.