NReco.GraphQL 1.4.0

.NET Standard 2.0
NuGet\Install-Package NReco.GraphQL -Version 1.4.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
dotnet add package NReco.GraphQL --version 1.4.0
<PackageReference Include="NReco.GraphQL" Version="1.4.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NReco.GraphQL --version 1.4.0
#r "nuget: NReco.GraphQL, 1.4.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install NReco.GraphQL as a Cake Addin
#addin nuget:?package=NReco.GraphQL&version=1.4.0

// Install NReco.GraphQL as a Cake Tool
#tool nuget:?package=NReco.GraphQL&version=1.4.0

Translates GraphQL queries to SQL by mapping configuration (JSON). Compatible with any ADO.NET provider.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.4.0 21 9/27/2022
1.3.1 272 1/17/2022
1.3.0 1,428 11/26/2021
1.2.4 260 5/28/2021
1.2.3 435 1/13/2021
1.2.2 567 6/25/2020
1.2.1 352 6/19/2020
1.2.0 361 6/12/2020
1.1.2 413 6/2/2020
1.0.5 1,060 11/20/2019
1.0.4 460 11/7/2019
1.0.3 507 6/14/2019
1.0.2 447 6/5/2019
1.0.0 507 2/21/2019

Online demo, usage examples:

v.1.4.0 changes:
- removed from GraphQLSchemaOption property "FieldMiddlewareBuilder" and added FieldMiddlewares (list) instead to reflect changes in GraphQL.Net
- added new schema object property "CustomFilterField" for custom SQL filter functions (say, filter with DB-specific GIS-functions);
- fixed "Could not load file or assembly 'System.Runtime'" issue with 1.3.x builds in .NET Framework projects

v.1.3.1 changes:
- dependency on GraphQL.NET upgraded to v4.7
- breaking change in "GraphQLSchemaOption" (b/c 4.7 upgrade): removed property "FieldMiddlewareBuilder", added a new property "FieldMiddlewares" (list)

v.1.3.0 changes:
- upgraded to latest GraphQL.NET engine - v4.6.1
- net45 build is not supported any more
- now aggregated fields are allowed to use in sortBy option
- new feature: alternative filter. Now it is used to support complex filtering (json-format) and supports nested logical operators OR/AND (similar to )

v.1.2.4 changes:
- fix: added ability to use aggregated fields in sortBy option

v.1.2.3 changes:
- fix: use appropriate GraphQL type for arguments in generated schema

v.1.2.2 changes:
- fix: aggregate query issue with naming graphql aggregate fields (when field property "Column" is set)
- fix: related-object loading issue when set complex filter for the related query

v.1.2.1 changes:
- fix: dataloader 'filter' handling
- fix: aliased fields handling fix
- fix: datetime datatype now returns time part

v.1.2.0 changes:
- added ability to make aggregate queries (count, sum, average etc)
- fix: DataLoader recursive queries issue

v.1.1.2 changes:
- hotfixes for DataLoader
- enabled ability to use simple arguments for filtering related objects

v.1.1.0 changes:
- DataLoader for efficient handling of N+1 problem (batch load of related objects)
- use first loaded record for single related object (instead of last one)