IList won't work as filterable IQueryable, even with AsQueryable


#1

How can I use the IList as an IQueryable?

I have a public IList Stops { get; }

But Stops.Filter("…") does not work.

Neither does Stops.AsQueryable().Filter("…");

This is unfortunate since the IList items is in a particular order I would like to keep, while having a hot query.

@nirinchev I know you talked with my colleague Kasper about this problem. Is there any solution coming from you guys?


#2

Unfortunately, we don’t have a solution for that yet :slightly_frowning_face: I tried to revive my old branch that tries to add it but it hits the same issue as when I first implemented it. I’ll see if there’s something easy we can do to address it.