Skip to content

Support interfaces #104

Open
Open
@jml

Description

@jml

We have some support for interfaces, but it's not at all clear how you'd implement a handler for something like:

type Query {
  dog: Dog
} 

type Dog {
  name: Text!
  owner: Sentient
}

interface Sentient {
  name: Text!
}

type Human implements Sentient {
  name: Text!
}

What would the Haskell implementation for dog.owner look like?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions