It would allow for queries that are partially possible with the site already.
For example, this:
https://www.start.gg/search/tournaments
?refinementList[events.videogame.id]=1386
&refinementList[state][0]=3
&refinementList[hasOnlineEvents][0]=false
&page=1
&configure[hitsPerPage]=15
&configure[filters]=profileType:tournament
&range[startAt][min]=1641013200
&range[numAttendees][min]=1001
can become this:
query {
tournaments(
query: {
page: 1
perPage: 500
sortBy: "startAt asc"
filter: {
videogameIds: [1386]
afterDate: 1641013200
hasOnlineEvents: false
# maybe something like this idk
minAttendees: 1001
}
}
) {
nodes {
id
name
startAt
}
}
}
It would allow for queries that are partially possible with the site already.
For example, this:
can become this: