Implement many interfaces

Hi,

Is it possible for a type to implement more than one interface?

Thanks

1 Like

Yes.

type Foo implments A & B {
...
}

Great thank you very much

Bear in mind interfaces cannot implement interfaces yet

Yes, I saw your answer about this topic in another post :upside_down_face:
Is there an estimated time for this feature?

The current GraphQL spec doesn’t allow interfaces to implement interfaces. The upcoming version of the spec introduces this behaviour, but it is still a draft.

We will be supporting this feature only after the official spec starts allowing interfaces to implement other interfaces.

2 Likes