Skip to content
New issue

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

Support for lists of built-in types #61

Open
gh0stwizard opened this issue Nov 10, 2019 · 1 comment
Open

Support for lists of built-in types #61

gh0stwizard opened this issue Nov 10, 2019 · 1 comment

Comments

@gh0stwizard
Copy link

Hello,
I am writing an app using MongoDB, so I need to use lists of built-in types. For instance,

public class MyClass
{
    public IList<string> SomeKindNames { get; set; }
}

I see no way how to create a filter with ExpressionBuilder. Either, did I missed something in the docs and code and this is possible to be done?

Thanks!

@gh0stwizard
Copy link
Author

gh0stwizard commented Nov 10, 2019

I have solved the issue. See commit gh0stwizard@9e1f8ec
Basically, you have to allow passing ParameterExpression to the method GetExpression of the Operation's implementation. I have included tests to the commit above, also MongoDB driver works too.
I wish complete more tests in the app before closing this issue, but you can close it if needed.

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

No branches or pull requests

1 participant