Skip to content

Commit 9eb0b69

Browse files
authored
Merge pull request #4 from IgniteUI/dgdimitrov/include-support-for-dotnet8
Include support for dotnet8
2 parents 50a9c2d + 1c335c6 commit 9eb0b69

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

Infragistics.QueryBuilder.Executor.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<PackageId>Infragistics.QueryBuilder.Executor</PackageId>

ReadMe.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Infragistics.QueryBuilder.Executor
22

3-
A .NET 9 library for dynamic, strongly-typed query building and execution over Entity Framework Core data sources. Supports advanced filtering, projection, and SQL generation.
3+
A .NET 8, .NET 9 library for dynamic, strongly-typed query building and execution over Entity Framework Core data sources. Supports advanced filtering, projection, and SQL generation.
44

55
[![NuGet](https://img.shields.io/nuget/v/Infragistics.QueryBuilder.Executor.svg)](https://www.nuget.org/packages/Infragistics.QueryBuilder.Executor/)
66

@@ -61,9 +61,10 @@ In your `Startup.cs` or Program configuration:
6161

6262
## Dependencies
6363

64-
- .NET 9
64+
- .NET 8 or .NET 9
6565
- Microsoft.EntityFrameworkCore
6666
- AutoMapper
67+
- builder.Services.AddControllers().AddNewtonsoftJson(o => o.SerializerSettings.ReferenceLoopHandling = ReferenceLoopHandling.Ignore) for working SwaggerUI
6768

6869
---
6970

Services/QueryBuilderService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public Dictionary<string, object[]> RunQuery(Query query)
3434
?? throw new InvalidOperationException($"DbSet '{propInfo.Name}' does not support AsQueryable().");
3535

3636
var propRes = QueryExecutor.InvokeRunMethod([dbGenericType, dtoGenericType], [queryable, query, mapper]);
37-
return new Dictionary<string, object[]> { { propInfo.Name.ToLowerInvariant(), propRes } };
37+
return new Dictionary<string, object[]> { { query.Entity, propRes } };
3838
}
3939
}
4040
}

0 commit comments

Comments
 (0)