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

ExpressionParser ctor in 1.5.0 not compatible with earlier versions #881

Closed
Matthias-Meyer opened this issue Jan 24, 2025 · 1 comment
Closed
Assignees
Labels

Comments

@Matthias-Meyer
Copy link

In 1.5.0, an optional parameter usedForOrderBy was added to the System.Linq.Dynamic.Core.Parser.ExpressionParser ctor. Since optional parameters are evaluated at compile time, this version is not compatible with older versions.
This is now a problem because we all want to upgrade to 1.6.1 with the vulnerability fixed, but need to wait for all dependent projects to compile their code and upgrade their package references.
I'd say it would be better to add a 2nd ctor with an extra non-optional parameter.

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