You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm following this pattern here: https://medium.com/neo4j/keeping-track-of-graph-changes-using-temporal-versioning-3b0f854536fa. Let say that we have 2 nodes with the labels Product and ProductState. The Product label contains only an ID and the ProductState label have information regarding name and price. The relationship between the nodes have the fields 'to' and 'from'.
I want to create a schema where I can see the changes over time and use the directive @relation (productTimeline)
type Product {
id:ID!
productTimeline: [ProductTimeline]
}
type ProductState {
name: String
price: Int
}
type ProductTimeline {
from: Product
to: ProductState
# <here I want to display the to and from field that is inside the relationship between the nodes, but these field are already used>
}
This works fine, but I cannot display the to and from fields that are inside the relationship. How can I solve this without renaming the fields inside the relationship?
The text was updated successfully, but these errors were encountered:
Hi, I'm following this pattern here: https://medium.com/neo4j/keeping-track-of-graph-changes-using-temporal-versioning-3b0f854536fa. Let say that we have 2 nodes with the labels Product and ProductState. The Product label contains only an ID and the ProductState label have information regarding name and price. The relationship between the nodes have the fields 'to' and 'from'.
I want to create a schema where I can see the changes over time and use the directive @relation (productTimeline)
This works fine, but I cannot display the to and from fields that are inside the relationship. How can I solve this without renaming the fields inside the relationship?
The text was updated successfully, but these errors were encountered: