-
Notifications
You must be signed in to change notification settings - Fork 992
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
store: make comparisons case-insensitive #3191
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am totally fine with this change, but it is a breaking change in that the same query may now return different data.
@azf20 Are you ok with merging this?
Nice! cc @That3Percent. I think this depends a bit on our apiVersioning story - this is quite a significant change in query behaviour, so I think a question is if we make this part of the |
This PR seems to have some problems. For one, this will break existing dApps which were expecting the existing case-sensitive behavior. A better option I think would have been to add case-insensitive variants of these arguments, rather than to modify the existing ones. Another concern comes quoted from the issue:
Determinism is table-stakes. We must not introduce non-determinism, and we must eradicate the existing non-determinism. So, that part gets a hard no from me unless all queries using these features are errors unless the non-determinism flag is set in graph-node... which would break all the existing queries. |
Reasonable on breaking existing dapps - @lutter @saihaj @dotansimha what do you think about introducing a new We are addressing the database locale issue separately: #3118 |
@That3Percent agreed that this is a breaking change and to address it as discussed in the ticket we are adding strict filters #3117 so should we instead keep this as is and then and an insensitive filter? |
@saihaj it seems that we agree - let's keep this |
Recreating #3126
Closes #3116