Skip to content

Enforce exact matches on colorIdentity fields #48

@ghost

Description

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions