Skip to content

Commit

Permalink
Dynamic LINQ settings improved
Browse files Browse the repository at this point in the history
  • Loading branch information
enchev committed Jan 27, 2025
1 parent e870ca8 commit ecc403c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Radzen.Blazor/DynamicLinqCustomTypeProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ namespace Radzen.Blazor
{
class DynamicLinqCustomTypeProvider : IDynamicLinqCustomTypeProvider
{
static DynamicLinqCustomTypeProvider()
{
System.Linq.Dynamic.Core.ParsingConfig.Default.AllowEqualsAndToStringMethodsOnObject = true;
}

static readonly HashSet<Type> empty = [];
public HashSet<Type> GetCustomTypes() => empty;
public Dictionary<Type, List<MethodInfo>> GetExtensionMethods() => new Dictionary<Type, List<MethodInfo>>();
Expand Down
2 changes: 1 addition & 1 deletion Radzen.Blazor/Radzen.Blazor.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<IsPackable>true</IsPackable>
<PackageId>Radzen.Blazor</PackageId>
<Product>Radzen.Blazor</Product>
<Version>5.9.2</Version>
<Version>5.9.3</Version>
<Copyright>Radzen Ltd.</Copyright>
<Authors>Radzen Ltd.</Authors>
<Description>Radzen Blazor is a set of 90+ free native Blazor UI controls packed with DataGrid, Scheduler, Charts and robust theming including Material design and Fluent UI.</Description>
Expand Down

0 comments on commit ecc403c

Please sign in to comment.