Hey!
can you tell how to get properties of relationships involving same type of nodes. ex.
type AssignmnentInterest @relation(name: "ASSIGNMENT_INTEREST"){
id: ID!
from: Assignment
to: Assignment
acres: String
}
I'm not exactly sure but its possible you could do something like this:
type Assignment {
previousAssignment: Assignment @relation(name: "ASSIGNEMNT_INTEREST", direction:(this could be out or in depeneding upon your requirements))
}
Something like that should work. If not, you could do something like create an initial installment type and have that be the first assignment in your chain. I hope this helps.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hey!
can you tell how to get properties of relationships involving same type of nodes. ex.
type AssignmnentInterest @relation(name: "ASSIGNMENT_INTEREST"){
id: ID!
from: Assignment
to: Assignment
acres: String
}
Thanks
I'm not exactly sure but its possible you could do something like this:
Something like that should work. If not, you could do something like create an initial installment type and have that be the first assignment in your chain. I hope this helps.