}, "data": { "mum": "ancestor #30", "dad": "ancestor #31" } } } } }, "data": { "mum": { "mum": { "mum": { "mum": { "mum": "ancestor #32", "dad": "ancestor #33" }, "data": { "mum": "ancestor #34", "dad": "ancestor #35" } }, "data": { "mum": { "mum": "ancestor #36", "dad": "ancestor #37" }, "data": { "mum": "ancestor #38", "dad": "ancestor #39" } } }, "data": { "mum": { "mum": { "mum": "ancestor #40", "dad": "ancestor #41" }, "data": { "mum": "ancestor #42", "dad": "ancestor #43" } }, "data": { "mum": { "mum": "ancestor #44", "dad": "ancestor #45" }, "data": { "mum": "ancestor #46", "dad": "ancestor #47" } } } }, "data": { "mum": { "mum": { "mum": { "mum": "ancestor #48", "dad": "ancestor #49" }, "data": { "mum": "ancestor #50", "dad": "ancestor #51" } }, "data": { "mum": { "mum": "ancestor #52", "dad": "ancestor #53" }, "data": { "mum": "ancestor #54", "dad": "ancestor #55" } } }, { "hero": { "mum": { "mum": { "mum": { "mum": { "mum": { "mum": "ancestor #0", "dad": "ancestor #1" }, "data": { "mum": "ancestor #2", "dad": "ancestor #3" } }, "data": { "mum": { "mum": "ancestor #4", "dad": "ancestor #5" }, "data": { "mum": "ancestor #6", "dad": "ancestor #7" } } }, "data": { "mum": { "mum": { "mum": "ancestor #8", "dad": "ancestor #9" }, "data": { "mum": "ancestor #10", "dad": "ancestor #11" } }, "data": { "mum": { "mum": "ancestor #12", "dad": "ancestor #13" }, "data": { "mum": "ancestor #14", "dad": "ancestor #15" } } } }, "data": { "mum": { "mum": { "mum": { "mum": "ancestor #16", "dad": "ancestor #17" }, "data": { "mum": "ancestor #18", "dad": "ancestor #19" } }, "data": { "mum": { "mum": "ancestor #20", "dad": "ancestor #21" }, "data": { "mum": "ancestor #22", "dad": "ancestor #23" } } }, "data": { "mum": { "mum": { "mum": "ancestor #24", "dad": "ancestor #25" }, "data": { "mum": "ancestor #26", "dad": "ancestor #27" } }, Codegen fragment ancestors1 on Character { mum { ...ancestors2 } dad { ...ancestors2 } } fragment ancestors2 on Character { mum { ...ancestors3 } dad { ...ancestors3 } } fragment ancestors3 on Character { mum { ...ancestors4 } dad { ...ancestors4 } } fragment ancestors4 on Character { mum { ...ancestors5 } dad { ...ancestors5 } } fragment ancestors5 on Character { mum { ...ancestors6 } dad { ...ancestors6 } } fragment ancestors6 on Character { mum { name } dad { name } } query GetHeroAncestors { hero { ...ancestors1 } } GraphQL Json "data": { "mum": { "mum": { "mum": "ancestor #56", "dad": "ancestor #57" }, "data": { "mum": "ancestor #58", "dad": "ancestor #59" } }, "data": { "mum": { "mum": "ancestor #60", "dad": "ancestor #61" }, "data": { "mum": "ancestor #62", "dad": "ancestor #63" } } } } } } }