Repository navigation
docs: document SubtypeFilter - #2373
Closed
dylan-rumble wants to merge 1 commit into
Closed
dylan-rumble wants to merge 1 commit into
dylan-rumble wants to merge 1 commit into
Conversation
Documents the ORM SubtypeFilter added in api-platform/core#8651. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Author
|
closed in favor of #2374 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documents the
SubtypeFilter(Doctrine ORM) introduced in api-platform/core#8651.SubtypeFilterto the list of built-in filters.core/doctrine-filters.md: usage withExactFilter/ComparisonFilter, accepted subtypes (entity, mapped superclass, interface),strictmode and its behavior insideOrFilter, how it works (subquery +INSTANCE OFguard, since Doctrine has noTREAT), and the nested properties limitation.CI
The failing Prettier check is unrelated to this PR: it flags
core/graphql.md, which is not touched here. The workflow runs an unpinnednpx prettier; the last green5.0run used Prettier 3.9.6, this one pulled 3.10.1, which reformats the two empty-selection GraphQL examples incore/graphql.md(cursor pagination). With 3.9.6 all files pass, includingcore/doctrine-filters.md.