How to handle recursive types in GQL schema? #1160
-
Here is my schema:
I'm trying to figure out how I can handle a recursive relationship in Rust with Juniper but I cannot seem to find any resources about it. Does anybody have an ideas? |
Beta Was this translation helpful? Give feedback.
Answered by
LegNeato
Oct 26, 2023
Replies: 1 comment
-
It should work using |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
LegNeato
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It should work using
Box
. See https://doc.rust-lang.org/book/ch15-01-box.html