为同一类型的 from 和 to 定义类型@relation 的方向
Define direction for type @relation with from and to for the same type
是否可以在 neo4j-graphql 中为同一类型的 from 和 to 定义类型@relation 的方向?
Type Relation @relation(name: "RELATION") {
from: Node!
to: Node!
property: Int!
}
Type Node {
id: ID!
in: [Relation]
out: [Relation]
}
https://github.com/neo4j-graphql/neo4j-graphql-java#relationship-on-types
对于 Java,Michael Hunger 的荣誉。
是否可以在 neo4j-graphql 中为同一类型的 from 和 to 定义类型@relation 的方向?
Type Relation @relation(name: "RELATION") {
from: Node!
to: Node!
property: Int!
}
Type Node {
id: ID!
in: [Relation]
out: [Relation]
}
https://github.com/neo4j-graphql/neo4j-graphql-java#relationship-on-types
对于 Java,Michael Hunger 的荣誉。