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

Determine behavior of repeated map keys #579

Open
EpsilonPrime opened this issue Nov 22, 2023 · 0 comments
Open

Determine behavior of repeated map keys #579

EpsilonPrime opened this issue Nov 22, 2023 · 0 comments
Labels

Comments

@EpsilonPrime
Copy link
Member

When a map contains the same key multiple times there are a few options for the potential behavior:

  1. Always choose the last value for that map key (as if the value had been overwritten by each occurrence).
  2. Always choose the first value for that map key.
  3. Return the full list of values.

One additional complication is the ordering that defines first/last.

This affects the documentation added in #521.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants