Skip to content

Conversation

@cjoudrey
Copy link
Owner

@cjoudrey cjoudrey commented Apr 8, 2018

Closes #111

As of v0.13.0 of GraphQL.js the syntax for implementing multiple interfaces has slightly changed.

Previously you could separate each interface with a blank space or comma:

type Foo implements Bar, Baz { field: Type }

But the new syntax is to separate using &:

type Foo implements Bar & Baz { field: Type }

This pull request adds --old-implements-syntax in order to support schemas that still use the old way.

This option will be removed when GraphQL.js drops support for the old way.

@cjoudrey cjoudrey merged commit a835a49 into master Apr 8, 2018
@cjoudrey cjoudrey deleted the old-implements-syntax branch April 8, 2018 02:40
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.

2 participants