Skip to content

[Docs] Fix custom filtering section#9701

Merged
tobias-tengler merged 3 commits into
mainfrom
tte/update-custom-filtering-docs
May 13, 2026
Merged

[Docs] Fix custom filtering section#9701
tobias-tengler merged 3 commits into
mainfrom
tte/update-custom-filtering-docs

Conversation

@tobias-tengler
Copy link
Copy Markdown
Member

Closes #9700

@github-actions github-actions Bot added the 📚 documentation This issue is about working on our documentation. label May 13, 2026
@tobias-tengler tobias-tengler changed the title wip: fix custom filtering [Docs] Fix custom filtering section May 13, 2026
@tobias-tengler tobias-tengler marked this pull request as ready for review May 13, 2026 14:48
Copilot AI review requested due to automatic review settings May 13, 2026 14:48
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Hot Chocolate v16 documentation to reflect the removal of parameterless handler registration for filtering/sorting/projections, and fixes the custom filtering examples so they compile and work as intended (per #9700).

Changes:

  • Add a migration note explaining the new factory-based handler registration APIs for filter/sort/projection providers.
  • Update the “Extending filtering” docs to use the new AddFieldHandler(ctx => ...) overload and document handler registration order precedence.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
website/src/docs/hotchocolate/v16/migrating/migrate-from-15-to-16.md Adds migration guidance for removed parameterless handler registration overloads (but needs a small correction for handler ordering and context-property accuracy).
website/src/docs/hotchocolate/v16/fetching-data/integrations/extending-filtering.md Fixes custom filtering samples to use the provider-context factory overload and clarifies registration-order behavior.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📚 documentation This issue is about working on our documentation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Case insensitive custom filter operation

2 participants