Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OrderedDictionary<T> #3908

Open
flobernd opened this issue Mar 7, 2025 · 0 comments · May be fixed by #3913
Open

OrderedDictionary<T> #3908

flobernd opened this issue Mar 7, 2025 · 0 comments · May be fixed by #3913

Comments

@flobernd
Copy link
Member

flobernd commented Mar 7, 2025

🚀 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.

@flobernd flobernd self-assigned this Mar 7, 2025
@flobernd flobernd linked a pull request Mar 7, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant