Skip to content

Question: Is there any way to create GraphQL interfaces? #2212

@ossinkine

Description

@ossinkine

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions