Replies: 1 comment 1 reply
-
|
There is an api suggestion for being able to specify duplicate key behaviour for dictionaries. It sounds like your issue is tangent to it. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This has been quite annoying to me because I use it a lot and I have to be careful when using it. I usually intentionally want it to throw if there is key duplicates (from library).
In what use case is it actually useful to just let the latter value overwrite the former? I haven't come across a single time that I want that behavior. I know the behavior can't be changed anymore but maybe suggesting a
ToFrozenDictionaryStrict()function is not unreasonable?Beta Was this translation helpful? Give feedback.
All reactions