[PR #1972] [MERGED] Where() and Select() methods from strings expression parsing improved #3000

Open
opened 2026-01-29 18:21:28 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/radzenhq/radzen-blazor/pull/1972
Author: @enchev
Created: 2/17/2025
Status: Merged
Merged: 2/17/2025
Merged by: @enchev

Base: masterHead: expression-parser


📝 Commits (10+)

  • 34d4ec4 Add ExpressionParser and tests.
  • 1cf4054 Should_SupportNullableShortParsing test added
  • e08292b Support conversion for binary operations
  • ef465b8 Should_SupportNullablePropertiesWithArray test added
  • 0aaccd0 Should_SupportDateTimeWithArray added
  • 73f5561 code fixed
  • 50c8025 Compilation moved to Select() only
  • 3a76e29 DataGrid columns filtering temporary switched to string expressions
  • 864c5ba typeLocator added
  • 2936896 Convert arguments if needed.

📊 Changes

8 files changed (+1026 additions, -711 deletions)

View changed files

.editorconfig (+244 -0)
Radzen.Blazor.Tests/ExpressionParserTests.cs (+288 -0)
📝 Radzen.Blazor/Common.cs (+1 -1)
📝 Radzen.Blazor/DynamicExtensions.cs (+27 -682)
Radzen.Blazor/ExpressionParser.cs (+417 -0)
📝 Radzen.Blazor/QueryableExtension.cs (+26 -5)
📝 Radzen.sln (+5 -0)
📝 RadzenBlazorDemos/Pages/DataGridColumnFilterCustomExpression.razor (+18 -23)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/radzenhq/radzen-blazor/pull/1972 **Author:** [@enchev](https://github.com/enchev) **Created:** 2/17/2025 **Status:** ✅ Merged **Merged:** 2/17/2025 **Merged by:** [@enchev](https://github.com/enchev) **Base:** `master` ← **Head:** `expression-parser` --- ### 📝 Commits (10+) - [`34d4ec4`](https://github.com/radzenhq/radzen-blazor/commit/34d4ec4d653db04aa0d9e62e140bf04174c91c87) Add ExpressionParser and tests. - [`1cf4054`](https://github.com/radzenhq/radzen-blazor/commit/1cf40543c4dbe59a84d744f994bfe7a5757bae91) Should_SupportNullableShortParsing test added - [`e08292b`](https://github.com/radzenhq/radzen-blazor/commit/e08292b88573351dd27281a253b5f0154113b3eb) Support conversion for binary operations - [`ef465b8`](https://github.com/radzenhq/radzen-blazor/commit/ef465b87d193d3aa5558a2ebc3fea89013ca4fe9) Should_SupportNullablePropertiesWithArray test added - [`0aaccd0`](https://github.com/radzenhq/radzen-blazor/commit/0aaccd0eb1ed8f6ca7a3d79aeaaf8fb37059e3c2) Should_SupportDateTimeWithArray added - [`73f5561`](https://github.com/radzenhq/radzen-blazor/commit/73f55610cab5705bf9618fa487f75a73d3bbdc20) code fixed - [`50c8025`](https://github.com/radzenhq/radzen-blazor/commit/50c8025759afa5970fd53ab822726320e711e31a) Compilation moved to Select() only - [`3a76e29`](https://github.com/radzenhq/radzen-blazor/commit/3a76e2909525740aedd2e51edf923cab637f462a) DataGrid columns filtering temporary switched to string expressions - [`864c5ba`](https://github.com/radzenhq/radzen-blazor/commit/864c5baa5a5b9dbd281c9f3d436281c940cf6298) typeLocator added - [`2936896`](https://github.com/radzenhq/radzen-blazor/commit/2936896a084255fe763b948ceda70c7d616975c0) Convert arguments if needed. ### 📊 Changes **8 files changed** (+1026 additions, -711 deletions) <details> <summary>View changed files</summary> ➕ `.editorconfig` (+244 -0) ➕ `Radzen.Blazor.Tests/ExpressionParserTests.cs` (+288 -0) 📝 `Radzen.Blazor/Common.cs` (+1 -1) 📝 `Radzen.Blazor/DynamicExtensions.cs` (+27 -682) ➕ `Radzen.Blazor/ExpressionParser.cs` (+417 -0) 📝 `Radzen.Blazor/QueryableExtension.cs` (+26 -5) 📝 `Radzen.sln` (+5 -0) 📝 `RadzenBlazorDemos/Pages/DataGridColumnFilterCustomExpression.razor` (+18 -23) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 18:21:28 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#3000