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

Do you have any plan to support interpolated String? #527

Closed
yangzhongke opened this issue Jun 29, 2021 · 2 comments
Closed

Do you have any plan to support interpolated String? #527

yangzhongke opened this issue Jun 29, 2021 · 2 comments
Labels

Comments

@yangzhongke
Copy link
Contributor

Like:

var query = db.Customers
.Where($"City == {cityName} and Orders.Count >= {count}")

I'd like to contribute code to support it, can I pull a request?

@StefH
Copy link
Collaborator

StefH commented Jun 30, 2021

You can create a PR, make sure that you also add unit-tests.

@yangzhongke
Copy link
Contributor Author

I have created a PR. Thanks.

StefH pushed a commit that referenced this issue Jul 17, 2021
* Add support of Interpolated strings. #527

* rename:EFDynamicQueryable_FS_Extensions.cs-->EFDynamicQueryableWithFormattableStringExtensions.cs and DynamicQueryable_FormattableString_Extensions.cs --> DynamicQueryableWithFormattableStringExtensions.cs

* Formatted the code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants