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

Case-insensitive list support please #13

Open
suntong opened this issue Sep 23, 2021 · 0 comments
Open

Case-insensitive list support please #13

suntong opened this issue Sep 23, 2021 · 0 comments

Comments

@suntong
Copy link

suntong commented Sep 23, 2021

Is your feature request related to a problem? Please describe.

There are items which are case-insensitive in nature, like file names under Windows, or table/field names in MS SQL Server.

Describe the solution you'd like

  • Need a ordered set for a case-insensitive list collection, for those items.
    • Set an option in NewOrderedSet(caseInsensitive bool) to indicate so,
    • which will affect the behavior of Add() and Contain() to use case-insensitive comparison.

Describe alternatives you've considered

Cannot think of a better way to handle such situation otherwise.

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

No branches or pull requests

1 participant