Repository navigation
Replies: 2 comments
|
I explored this slightly. I think this is not possible at this moment. This is how interfaces are implemented in core/src/GraphQl/Type/TypeBuilder.php Line 112 in cf65af3 @alanpoulain please confirm. If I'm right do you plan to support interfaces for GraphQl? I think this way data model in GraphQl schema will reflect model in php very well. At this moment I have some troubles with this. |
0 replies
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
GraphQL allows to declare abstract types called interfaces (https://graphql.org/learn/schema/#interfaces). On the backed it's mean we can create abstract models.
What is a proper way I should configure my models that API Platform builds a schema with interfaces?
All reactions