Skip to content

feat: migrate HotChocolate from v15 to v16 - #135

Merged
Dejmenek merged 5 commits into
mainfrom
feat/134-migrate-hotchocolate-from-v15-to-v16
Sep 9, 2026
Merged

Dejmenek merged 5 commits into
mainfrom
feat/134-migrate-hotchocolate-from-v15-to-v16

Conversation

@Dejmenek

@Dejmenek Dejmenek commented Sep 9, 2026

Copy link
Copy Markdown
Owner

Summary

This PR migrates HotChocolate from v15 to v16 and adjusts the code to match with the new behaviors.

Changes

  • Added ApplicationService with ILogger due to clearer seperation between schema and application services
  • Updated ExecutionEventListener to take concrete RequestContext instead of IRequestContext, since the latter was removed.
  • Replaced GraphQLServerOptions with delegate pattern.
  • Updated NuGet and cached packages to HotChocolate v16

The `ExecutionEventListener` class now inherits from
`ExecutionDiagnosticEventListener`. The `ExecuteRequest` method's
parameter type was changed from `IRequestContext` to `RequestContext`.

The logic for determining the `operationType` was updated to use
`TryGetOperation`
@Dejmenek Dejmenek linked an issue Sep 9, 2026 that may be closed by this pull request
13 tasks
@Dejmenek
Dejmenek merged commit c5c265a into main Sep 9, 2026
3 checks passed
@Dejmenek
Dejmenek deleted the feat/134-migrate-hotchocolate-from-v15-to-v16 branch September 9, 2026 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate HotChocolate from v15 to v16

1 participant