feat: add additional query arguments to graphql#59
feat: add additional query arguments to graphql#59denisyilmaz wants to merge 8 commits intostudioespresso:develop-v5from
Conversation
Coysh
left a comment
There was a problem hiding this comment.
@janhenckens - I'm looking for a way to query a specific date range (i.e. any event happening in October 2025) - would this feature request sort that?
|
@Coysh we are using these new queries in our fork for a while now in production and yes, it would be able to query for a specific date range: Example: query GetEvents {
entries(
section: "events"
isDuringDate: ["2025-10-01 => 2025-10-31", "dateTimeRange", "event"]
) {
...Event
}
}You can check a live example here: https://www.urbanekuensteruhr.de/en/calendar (check the network tab when switching between months) |
|
@denisyilmaz - Thanks I'm using it in a module - so something like |
|
@Coysh yes, should work the same way. |
|
For anyone interested, I've got a fork with a |
new query arguments:
startsAfterDateendsBeforeDateisDuringDateisNotDuringDate