We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
We're using the HotChocolate PRISMA-like filters on top of a Mongo IQueryable. We're currently experiencing an issue when filtering on the exact date.
To Reproduce A sample repository is available here: https://github.com/gmiserez/HotChocolate_DateFilterWithMongoIssue
This query returns all the concerts:
{ blackSabbath2019Tour(where: { concertDate_gte: "2019-01-01" }) { concertDate name } }
the returned concerts:
{ "data": { "blackSabbath2019Tour": [ { "concertDate": "2019-06-01", "cityName": "Amsterdam" }, { "concertDate": "2019-07-10", "cityName": "Berlin" }, { "concertDate": "2019-06-18", "cityName": "Paris" }, { "concertDate": "2019-03-15", "cityName": "Zürich" } ] }
But this query doesn't return the concert that's taking place on that particular day:
{ blackSabbath2019Tour(where: {concertDate: "2019-06-01"}){ concertDate cityName: name } }
Expected behavior The following item should be returned for the second query: { "concertDate": "2019-06-01", "cityName": "Amsterdam" }
Packages:
Additional context Could this be an issue with UTC vs Local dates comparisons? I'm living in the CET zone.
The text was updated successfully, but these errors were encountered:
This one works now in V11 and V10
Sorry, something went wrong.
#1170
No branches or pull requests
Hello,
We're using the HotChocolate PRISMA-like filters on top of a Mongo IQueryable.
We're currently experiencing an issue when filtering on the exact date.
To Reproduce
A sample repository is available here:
https://github.com/gmiserez/HotChocolate_DateFilterWithMongoIssue
This query returns all the concerts:
the returned concerts:
But this query doesn't return the concert that's taking place on that particular day:
Expected behavior
The following item should be returned for the second query:
{
"concertDate": "2019-06-01",
"cityName": "Amsterdam"
}
Packages:
Additional context
Could this be an issue with UTC vs Local dates comparisons? I'm living in the CET zone.
The text was updated successfully, but these errors were encountered: