Skip to content

Case-insensitive list support please #13

@suntong

Description

@suntong

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions