Skip to content

Tree like relationships #308

Answered by noam-honig
philhawthorn asked this question in Q&A
Dec 22, 2023 · 3 comments · 4 replies
Discussion options

You must be logged in to vote

You can set the defaultIncluded of the toMany relations to true and works nice - see:
https://codesandbox.io/p/devbox/demo-tree-shape-qvxkzv
(I had to set the defaultIncluded of the toOne relation to false for this

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@philhawthorn
Comment options

@noam-honig
Comment options

@noam-honig
Comment options

@philhawthorn
Comment options

Answer selected by philhawthorn
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants