github.com/dgraph-io/dgraph@v1.2.8/graphql/schema/testdata/schemagen/input/interface-with-id-directive.graphql (about)

     1  interface LibraryItem {
     2      refID: String! @id
     3  }
     4  
     5  type Book implements LibraryItem {
     6      title: String
     7      author: String
     8  }
     9  
    10  type Library {
    11      items: [LibraryItem]
    12  }