Skip to content

interface type fixes & unit test improvements#188

Open
hasanmanzak wants to merge 25 commits intoBiarity:masterfrom
hasanmanzak:master
Open

interface type fixes & unit test improvements#188
hasanmanzak wants to merge 25 commits intoBiarity:masterfrom
hasanmanzak:master

Conversation

@hasanmanzak
Copy link
Copy Markdown
Collaborator

Hi all,

It's been a long time, I know...

This fix is in my mind for a long time. Finally I got the time to actually do it!

Current implementation relies on IQueryable<T> where T is a concrete type. Sometime ago I did a change and put a very small workaround when sorts fail where T is an interface type!. This time, I did a complete rethinking about the problem and came up with this change.

This fix is final with one feature is consiously left out: Support for same property name for multiple interfaces. This version works for filters & orders, both.

I also did some editings to unit tests. I'm not completely happy with all that, but maybe sometime later, somebody can do a complete re-do to that area.

Be safe, all.

@hasanmanzak hasanmanzak marked this pull request as draft February 22, 2023 23:08
@hasanmanzak hasanmanzak marked this pull request as ready for review February 23, 2023 01:39
@hasanmanzak
Copy link
Copy Markdown
Collaborator Author

@ITDancer13 @a-patel @Biarity @zolrath

Can anyone give a review and push this down to release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant