Skip to content

refactor: migrate mutations off legacy UseProjection - #141

Merged
Dejmenek merged 4 commits into
mainfrom
refactor/136-migrate-remaining-mutations-off-legacy-useprojection
Sep 12, 2026
Merged

Dejmenek merged 4 commits into
mainfrom
refactor/136-migrate-remaining-mutations-off-legacy-useprojection

Conversation

@Dejmenek

Copy link
Copy Markdown
Owner

Summary

Replaced HotChocolate's [UseProjection] middleware with a more explicit QueryContext<T> approach and updated related configurations and methods.

Changes

  • BracketMutations.cs, ParticipantMutations.cs, TournamentMutations.cs: Replaced [UseProjection] with QueryContext<T>, added AsNoTracking() and .With(query) for improved query handling.
  • GraphQLExtensions.cs: Removed .AddProjections() to align with the new query handling approach.

@Dejmenek Dejmenek linked an issue Sep 12, 2026 that may be closed by this pull request
@Dejmenek
Dejmenek merged commit 48aa299 into main Sep 12, 2026
3 checks passed
@Dejmenek
Dejmenek deleted the refactor/136-migrate-remaining-mutations-off-legacy-useprojection branch September 12, 2026 11:28
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 remaining mutations off legacy [UseProjection]

1 participant