#How do I resolve this C# error?
12 messages · Page 1 of 1 (latest)
ExecuteSort() is triggered like this:
_listings is a RedisCollection<...> with saveState set to false.
Looks like you are probably including two conflicting namespaces, that's supposed to resolve to Redis.OM.SearchExtensions.OrderByDescending, but it looks like there must be a conflicting definition that you are encountering. You can explicitly invoke SearchExtensions.OrderByDescending passing in the collection and your Lambda and that ought to do it.
Thanks. And my chaining-setup here, is that how it's intended to be used?
yes that should work.
Will 'advanced' queries like this work?
And things like
ugh, unfortunatly we cannot support null checks 😦 and trying to do the dictionary access within the query will not work.
Yeah, moved the dictionary to hard-coded (unfortunately)