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

[Feature Request] Search flags by color #57

Open
kittydoor opened this issue Jun 21, 2024 · 0 comments
Open

[Feature Request] Search flags by color #57

kittydoor opened this issue Jun 21, 2024 · 0 comments

Comments

@kittydoor
Copy link

Hey, awesome project! Also no clue how you got such a cool domain for it :)

I think it would be awesome if it was possible to query flags by color on the server side. Some useful queries I can think of are:

More important:

  • Includes the list of colors (and more): [ yellow, purple ]
  • Includes exactly the list of colors (and nothing else): [ yellow, purple ]

There are some edge cases like colors such as magenta or navy being hard to guess correctly, or gray vs grey and other spelling differences in languages.

Not sure what the best interface for it would be for REST or for GraphQL, if anyone has opinions on this please let me know in a comment to this issue. If the feature request is accepted, I'll see if I can whip up a PR though I can't make any promises.

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