![]() |
VOOZH | about |
dotnet add package GraphQL.ResolverProcessingExtensions --version 13.0.0
NuGet\Install-Package GraphQL.ResolverProcessingExtensions -Version 13.0.0
<PackageReference Include="GraphQL.ResolverProcessingExtensions" Version="13.0.0" />
<PackageVersion Include="GraphQL.ResolverProcessingExtensions" Version="13.0.0" />Directory.Packages.props
<PackageReference Include="GraphQL.ResolverProcessingExtensions" />Project file
paket add GraphQL.ResolverProcessingExtensions --version 13.0.0
#r "nuget: GraphQL.ResolverProcessingExtensions, 13.0.0"
#:package GraphQL.ResolverProcessingExtensions@13.0.0
#addin nuget:?package=GraphQL.ResolverProcessingExtensions&version=13.0.0Install as a Cake Addin
#tool nuget:?package=GraphQL.ResolverProcessingExtensions&version=13.0.0Install as a Cake Tool
A set of extensions for working with HotChocolate GraphQL and Database access with micro-orms such as RepoDb (or Dapper). This extension pack provides access to key elements such as Selections/Projections, Sort arguments, & Paging arguments in a significantly simplified facade so this logic can be leveraged in the Resolvers (and lower level Serivces/Repositories that encapsulate all data access) without dependency on IQueryable deferred execution (e.g. EntityFramework).
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 net6.0 is compatible. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 1 NuGet packages that depend on GraphQL.ResolverProcessingExtensions:
| Package | Downloads |
|---|---|
|
GraphQL.RepoDb.SqlServer
A set of extensions for working with HotChocolate GraphQL and RepoDb as the data access micro-orm without dependency on IQueryable. This enables fully encapsulated control over SQL queries in every way within a Service or Repository layer of your application. This extension pack provides a significantly simplified facade to access critial elements such as Selections/Projections, Sort arguments, & Paging arguments with support for mapping them to Models using built in RepoDb functionality. It also leverages RepoDb to provide a generic, Relay spec compatible, cursor pagination/slice query api for Sql Server. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 13.0.0 | 91,554 | 7/26/2023 |
Release Notes:
Release Notes:
- Updated and Optimized now with HC v13 -- leveraging more out-of-the-box features, simplifying code, and improving performance.
- Update project to .NET 6.0 which is now the minimum version supported by HC v13.
- Implemented support for dynamic injection of the GraphQL RepoDb Mapper via Resolver parameters.
- The Field Middleware is now optimized to only resolve and inject IParamsContext when it's actually requested in the signature of the resolver
- NOTE: There are some breaking changes as part of the simplification such as:
- .AsPreProcessedCursorSlice() is replaced by .ToGraphQLConnection() and you can now simply return a normal HC Connection<T> from your resolvers.
- .AsPreProcessedPageResults() is replaced by .ToGraphQLCollectionSegment() and you can now simply return a normal HC CollectionSegment<T> from your resolvers.
- Classes & Namespaces have been renamed from 'PreProcessing' to now 'ResolverProcessing'
Prior Releases Notes:
- Updated to latest version of HC to v12.4.1
- Fixed breaking change in HC where Field Definition context data methods were removed; now uses the new pattern that HC Core attributes (e.g. UsePaging, UseSorting).
- Updated Demo projects to .Net 6.0 and Azure Functions v4.
- Fixed issue #8 related to the in-memory Cursor Paging custom extension handling of empty enumerable results.
- Upgraded to now support HotChocolate version 12 with v12.0.1 and synced Nuget Version
- Bump HotChocolate version to v11.3.8 (latest v11 version before jumping to v12) and synced Nuget Version
- Bump HotChocolate version to v11.2.2 stable and sync Nuget version.
- Minor code cleanup and optimizations and removed duplicated validation.
- Eliminated dependency on Total Count to compute HasNextPage; this enalbed optimizing the paging algorthims in RepoDB (and other consuming libraries).
- Eliminate dependency on Generic Class type constraint for Paging as this is not a restriction of the HC Core, now primitive return types are supported.
- Enabled OffsetPaging parameters to be completely optional and default to retrieving all results, unless manually enforced by the Resolver or PagingMiddleware via PagingHandler (which is where HC core implements existing validation).
- Add full support for Offset Paging in addition to CursorPaging; including Offset Paging models, extension methods to convert IEnumerable, etc.
- Added examples in the StarWars Azure Functions project using in-memory processing (RepoDb implementation is not complete).
- Added support to easily determine if TotalCount is selected (as it's a special case selection) to support potential performance optimizations within Resolver logic.
- Added more Unit test coverage for Selections, and Paging implmentations
- Bump version to HotChocolate v11.0.4.
- Add support for Argument Names, and AllArguments facade for easier detecting and working with Arguments.
- Add .ConfigureAwait(false) to all awaits for performance.
- Fix Namespace consistency (might be a breaking change due to some mixed naming)
- Fixed new issue due to changes in Sort arguments in HotChocolate core; sort arguments are resolved correctly again.
- Bump to HotChocolate v11.0.1 which now resolves a bug that we helped identify with interfaces in the initial release of v11.0.0.
- Provide ability to trace log out some details for the query, execution time, etc. Also improves support for cancellation token throughout DB calls and minor optimizations and cleanup.