Skip to content

Option filter 'playerIds' in SetFilters does new requests #196

@d0ud3

Description

@d0ud3

Option filter 'playerIds' in SetFilters does new requests

Hello, when I request Sets of a Player and I use the playerIds filter option to filter on Sets of this Player and the specified playersIds
Then the API returns Sets of this Player OR Sets of the playersIds.

I query the API from a Player, and I access Sets of THIS Player without filter option.
So if I use playersIds filter option it should just filter on sets of THIS Player AND sets of playersIds. But here this filter option adds additional Sets which are not part of the Player root.

I think, "Thinking in Graphs" its not respected here ?

It is possible that you are using the same resolver for Sets and for Sets of a Player with filters

They should be different ?

Maybe I didn't understand well how these filters work and GraphQl too. I am waiting for your return so that you can give me your point of view.

I have attached an example of the queries I used.

In the response I just want sets of "gamerTag": "doude" VS "gamerTag": "Kinato"

Variables are at the end of files

Query getPlayerSets :
query_getPlayerSets.txt

Query getPlayerVsPlayerSets :
query_getPlayerVsPlayerSets.txt

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