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

Enforce exact matches on colorIdentity fields #48

Open
ghost opened this issue Jul 7, 2021 · 0 comments
Open

Enforce exact matches on colorIdentity fields #48

ghost opened this issue Jul 7, 2021 · 0 comments

Comments

@ghost
Copy link

ghost commented Jul 7, 2021

Situation

Let me prefix this issue by saying that I'm unaware if this is possible already. I have tried to do this myself and failed, and have seen others' with the same questions/requests as well.

Example

Consider the following request: https://api.magicthegathering.io/v1/cards?random=true&pageSize=1&contains=imageUrl&colorIdentity=U

The intention behind this is to match 1 random card, with an image field, and a color identity of exactly only blue. However, the results will consist of any combination that includes blue. This occurs both with the , and | operators, as well as with the color field. Personally, I'm only interested in colorIdentity.

Is there a way to add this behavior, if not already present?

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

0 participants