ryanheath/RavenDB-NodaTime

Unable to query ZonedDateTime when using RavenDB.Client >= 5.3.100

Closed this issue · 3 comments

When trying to query a ZonedDateTime property (using ToInstant()), the query processing blows up with MissingMethodException: Method not found: 'Result Raven.Client.Documents.Linq.LinqPathProvider.GetPath(System.Linq.Expressions.Expression)'..

It looks like the signature of GetPath changed in RavenDB 5.3.100 (see ravendb/ravendb@ea67ed3 for the diff) causing the failure.

Would you be able to release a new version of the package compiled against RavenDB.Client 5.3.100 or higher?

Do you have a failing test for this problem?

I've created a test project at https://github.com/wagich/ReplicateZonedDateTimeQueryProblem.

The issue can also be replicated in the integrated test project by replacing the ProjectReference to Raven.Client.NodaTime.csproj with a package reference to the nuget package RavenDB.Client.NodaTime while also bumping the RavenDB package version to >=5.3.100.

fixed with v5.3.102