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

     1  type Post {
     2      postID: ID
     3      content: String!
     4      author: Author!
     5      genre: Genre
     6  }
     7  
     8  type Author {
     9      id: ID
    10      name: String! @id @search(by: [regexp])
    11  	pen_name: String
    12      posts: [Post]
    13  }
    14  
    15  type Genre {
    16      name: String! @id
    17  }