elastic / elastic/elasticsearch-specification

OrderedDictionary<T>

Open
#3,908 0 comments 0 reactions 1 assignee Claimed by @flobernd View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.