msgraph-sdk-dotnet icon indicating copy to clipboard operation
msgraph-sdk-dotnet copied to clipboard

LINQ Support for Filter

Open christophwille opened this issue 7 years ago • 3 comments

https://github.com/microsoftgraph/msgraph-sdk-dotnet/pull/50 added support for Select/Expand. Is there anything planned for Filter? (we use .Where extensively in AAD Graph) AB#7336

christophwille avatar Jul 26 '17 06:07 christophwille

Yes, we need to add support for all query options exposed through Graph. In the meantime, you can add a custom option in your request.

caitlinrussell avatar Jul 26 '17 17:07 caitlinrussell

Maybe a slight misunderstanding: the .Filter method is there already, but it only takes strings whereas in comparison .Select takes a lambda already.

christophwille avatar Jul 27 '17 04:07 christophwille

Thanks for the clarification 1830184

caitlinrussell avatar Jul 27 '17 17:07 caitlinrussell

Hi @christophwille

With the new v5 version, we are now modifying all query parameters by using request configuration object. You can find more information here: https://github.com/microsoftgraph/msgraph-sdk-dotnet/blob/feature/5.0/docs/upgrade-to-v5.md#query-options

Closing this.

maisarissi avatar Aug 18 '22 14:08 maisarissi