Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --old-implements-syntax option #124

Merged
merged 1 commit into from
Apr 8, 2018
Merged

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.

1 participant