Skip to content

Conversation

@glopesdev
Copy link
Member

@glopesdev glopesdev commented Sep 16, 2025

We need to introduce small modifications to improve editing experience, but System.Linq.Dynamic has since been deprecated and also does not target modern .NET.

In this PR we update to the modern Dynamic LINQ package, System.Linq.Dynamic.Core, which includes improved language syntax and is easier to extend with code analysis and auto-completion features.

A unit testing project is also included to better keep track of compatibility and other regressions as well as providing a short practical reference to available expressions.

@glopesdev glopesdev added the feature New planned feature label Sep 16, 2025
@glopesdev glopesdev force-pushed the update-dynamic-linq branch 2 times, most recently from e5c27e7 to 327995a Compare October 4, 2025 18:01
Includes regression tests to track backwards compatibility in
preparation for the update to modern Dynamic LINQ libraries.
System.Linq.Dynamic has been deprecated and also does not target modern
.NET so we decided to update to the modern Dynamic LINQ package, which
includes improved language syntax and is easier to extend with code
analysis and auto-completion features.
Earlier versions of the scripting package supported case-invariant
predefined type names. To avoid breaking changes we introduce here an
exception fallback path which scans the expression for these known type
identifiers and replaces them with the corresponding built-in type
keyword.
@glopesdev glopesdev force-pushed the update-dynamic-linq branch from 327995a to 2b28d4c Compare October 5, 2025 09:34
@glopesdev glopesdev merged commit 1ffcd9b into bonsai-rx:main Oct 7, 2025
10 checks passed
@glopesdev glopesdev deleted the update-dynamic-linq branch October 7, 2025 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New planned feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant