When apply GraphQL schema (as following) why
sameAs: [Identifier] @hasInverse(field: "sameAs")
line from the schema is ignored in DGraph. As you can see on picture there is no sameAs
predicate created. I was expecting to see something like `sameAs : [uid]’
enum Gender {
male
female
}
interface Identifier {
code: String! @search(by: [hash])
target: String! @search(by: [hash])
yob: Int
sameAs: [Identifier] @hasInverse(field: "sameAs")
gender: Gender
zip: String
city: String
education: String
profession: String
version: DateTime! @search(by: [hour])
ts: DateTime!
}
type BidIdentifier implements Identifier
type EmailIdentifier implements Identifier
type UidIdentifier implements Identifier