Skip to content

GraphQL schema endpoint lacks support for intermediate interfaces (new in GraphQL 15.0.0) #5353

@CosmicPangolin

Description

@CosmicPangolin

What version of Dgraph are you using?

20.03.1

Have you tried reproducing the issue with the latest release?

Yep

What is the hardware spec (RAM, OS)?

N/A

Steps to reproduce the issue (command/config used to run Dgraph).

Build a GraphQL 15.0.0-compliant schema with an intermediate interface, attempt curl post
eg -

interface Bar {
}

interface Foo implements Bar {
}

Expected behaviour and actual result.

Expected: schema loaded with all relevant interface types/fields generated
Result: Unexpected name \"implements\"...

Pretty clear, methinks. Filing under bug and not feature to prioritize since this is a spec-compliance issue as of GraphQL 15.0.0 and has a large impact on schema expressiveness.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/graphqlIssues related to GraphQL support on Dgraph.kind/enhancementSomething could be better.status/blockedThe issue is waiting for some other task to be completed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions