github.com/dgraph-io/dgraph@v1.2.8/graphql/schema/testdata/schemagen/input/hasInverse-with-interface.graphql (about) 1 type Author { 2 id: ID! 3 name: String! @search(by: [hash]) 4 questions: [Question] @hasInverse(field: author) 5 answers: [Answer] @hasInverse(field: author) 6 } 7 8 interface Post { 9 id: ID! 10 text: String @search(by: [fulltext]) 11 datePublished: DateTime @search 12 author: Author! 13 } 14 15 type Question implements Post { 16 answered: Boolean 17 } 18 19 type Answer implements Post { 20 markedUseful: Boolean 21 }