-
-
Notifications
You must be signed in to change notification settings - Fork 8
feat: add additional query arguments to graphql #59
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
base: develop-v5
Are you sure you want to change the base?
feat: add additional query arguments to graphql #59
Conversation
Coysh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@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