Skip to content

OrderedDictionary<T> #3908

Open
@flobernd

Description

@flobernd

🚀 Feature Proposal

Add a new builtin dictionary type OrderedDictionary<K, V> that can be used instead of Dictionary<K, V> 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.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions