-
Notifications
You must be signed in to change notification settings - Fork 7
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
[Question] Stance about key duplication #23
Comments
Hey! The current thinking is that we will probably expose both operations that do try to prevent key duplication, and operations that do not. We might split them into several modules for convenience, eg. It is important for Juspay's internal purposes that we have a way to avoid duplication checks at compile-time — we want fast compile times and happen to already have a guarantee that records have no duplicates. But I am not against having variants of functions that do not allow duplicates. I think there are some details in #3. |
@neongreen I think I understand what you said. But I still have a concern about
So are operators like inserting or JSON Encoding are going to have |
I have a question about the stance of the library against key dupclication.
Currently, there is no key duplication check on construct, and the operators work even if there is a key duplication.
There is a metion in the README about fixing
KeyDoesNotExist
andRemoveAccessTo
, which I guess you want to get rid of key duplication. But then there are operators likeappend
that could bring in key duplication.So which stance does the library have(or will have) against key duplication?
The text was updated successfully, but these errors were encountered: