Skip to content

Support GraphQL draft syntax for multiple interface implementation. #28

@purplemana

Description

@purplemana

Per the spec, the multiple interface implementation syntax uses & instead of , as the separator, e.g.

type User implements Node & Paginated {

Currently graphql-s2s converts this to:

type User implements Node {

keeping only the first interface name.

An online repl is available here.

In addition to this, imho, the inherits syntax which is graphql-s2s specific, should also be changed to use & as name separator keeping both the syntax in harmony.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions