Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
07-18-2022 05:03 AM
Hi,
Using following definitions:
interface IGraphEdge @relationshipProperties {
created: DateTime! @timestamp(operations: [CREATE])
modified: DateTime! @timestamp(operations: [CREATE, UPDATE])
}
interface IPerson {
displayName: String!
knows: [IPerson!]! @relationship(type: "KNOWS", direction: OUT, properties: "IGraphEdge")
}
type Employee implements IPerson {
displayName: String!
knows: [IPerson!]! @relationship(type: "KNOWS", direction: OUT, properties: "IGraphEdge")
}
type Contractor implements IPerson {
displayName: String!
knows: [IPerson!]! @relationship(type: "KNOWS", direction: OUT, properties: "IGraphEdge")
}
Error: Input Object type IGraphEdgeCreateInput must define one or more fields.
Input Object type IGraphEdgeUpdateInput must define one or more fields.
interface IGraphEdge @relationshipProperties {
created: DateTime! @timestamp(operations: [CREATE])
modified: DateTime! @timestamp(operations: [CREATE, UPDATE])
creator: String!
modifier: String!
}
All the sessions of the conference are now available online