Skip to content

Commit f6a7623

Browse files
committed
Implement interface extension
This solves some issues where types couldn't be reconciled because they implemented multiple interfaces. The PR for this in the GraphQL PHP project is now far enough along (all tests passing) that this should be available in an update for us in time. See: webonyx/graphql-php/pull/740
1 parent d21d539 commit f6a7623

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

modules/custom/social_graphql/graphql/open_social.graphqls

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,7 @@ type DateTime {
197197
"""
198198
Media managed by the Open Social platform.
199199
"""
200-
# Unfortunately webonyx/graphql-php does not yet support interfaces implementing
201-
# other interfaces which was added to v15 of the GraphQL.
202-
# See https://github.com/webonyx/graphql-php/issues/728.
203-
interface Media { #}implements NodeInterface {
200+
interface Media implements Node {
204201
uuid: ID!
205202
"""
206203
The url at which the original media can be downloaded.

0 commit comments

Comments
 (0)