Skip to content

feat(graphql): skip resources with a discriminator map - #8888

Open
soyuka wants to merge 1 commit into
polymorphism/5-object-mapperfrom
polymorphism/6-graphql
Open

soyuka wants to merge 1 commit into
polymorphism/5-object-mapperfrom
polymorphism/6-graphql

Conversation

@soyuka

@soyuka soyuka commented Nov 26, 2026 •

Copy link
Copy Markdown
Member
Q A
Branch? main
Tickets
License MIT
Doc PR

GraphQL does not support polymorphic resources yet: their default GraphQL operations are dropped (relations still resolve), explicit graphQlOperations throw.

Test: tests/Functional/DiscriminatedResourceGraphQlTest.php

Part 6/6 of the polymorphism stack (#8889), replaces #8874.

GraphQL does not support polymorphic resources yet: drop their default
GraphQL operations, and throw on explicit `graphQlOperations`.
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.

1 participant