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

Request: Please implement ContainsKey for dictionary type #384

Closed
joshidp opened this issue May 31, 2020 · 2 comments
Closed

Request: Please implement ContainsKey for dictionary type #384

joshidp opened this issue May 31, 2020 · 2 comments
Assignees

Comments

@joshidp
Copy link

joshidp commented May 31, 2020

Hi,

Thanks for the great work.

Please implement ContainsKey for the dictionary ,
Enumerable.Empty() for the enumerable.

Thanks

@JonathanMagnan JonathanMagnan self-assigned this May 31, 2020
@JonathanMagnan
Copy link
Member

Hello @joshidp ,

Thank you for reporting, we will look if that's possible.

Best Regards,

Jon


Performance Libraries
context.BulkInsert(list, options => options.BatchSize = 1000);
Entity Framework ExtensionsEntity Framework ClassicBulk OperationsDapper Plus

Runtime Evaluation
Eval.Execute("x + y", new {x = 1, y = 2}); // return 3
C# Eval FunctionSQL Eval Function

@JonathanMagnan
Copy link
Member

Hello @joshidp ,

The v1.1.3 has been released.

The library should now support ContainsKey from a dictionary. Here are some example: https://github.com/zzzprojects/System.Linq.Dynamic.Core/blob/master/test/System.Linq.Dynamic.Core.Tests/MikArea/Dictionary.cs

However, I do not think we will do the Enumerable.Empty<T>() as this moment, as it's currently harder to support it.

Let me know if the ContainsKey works as expected.

Best Regards,

Jon

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

No branches or pull requests

2 participants