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

Add an option for case sensitive (or not) comparisons for string IDs #33

Open
julienadam opened this issue Jun 10, 2015 · 1 comment
Open
Assignees

Comments

@julienadam
Copy link

In the end it would be nice to be able to just compare IDs and not care about case sensitivity.

@vbfox
Copy link
Owner

vbfox commented Jun 10, 2015

Interesting, I wonder if it should be something specific to string or given as an extension point everywhere.

So the choices are :

  • Specific code for strings CaseSensitive: false
  • A Normalize method that could be implemented per-type (Changing the value stored in the ID)
  • A Compare method that could be implemented per-type (Keeping the value stored in the ID but considering values equals)

@vbfox vbfox self-assigned this Jun 10, 2015
@vbfox vbfox assigned vbfox and unassigned vbfox Jun 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants