Skip to content

Validate that interface field implementations match the abstract definition #5340

Open
@rmosolgo

Description

@rmosolgo

GraphQL-Ruby will currently let you define

interface Thing {
  name: String 
}

type Object implements Thing {
  name: Float 
}

But this is not allowed by the spec. It should validate somewhere along the line to make sure that isn't possible.

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