Jeremie
02/18/2022, 2:16 PMfragment ThreeLayerBreakdown on AbstractBreakdown {
...TokenBreakdownV3Fragment
}
mbonnin
02/18/2022, 2:18 PMJeremie
02/18/2022, 2:40 PMmbonnin
02/18/2022, 2:41 PMwhat does mp meanNot sure... I guess I meant pm (private message) 😅 . sorry!
Jeremie
02/18/2022, 2:42 PMfragment ThreeLayerBreakdown on AbstractBreakdown {
...TokenBreakdownV3Fragment
breakdown {
...TokenBreakdownV3Fragment
}
}
works but not with an extra layer, but its a recursive object (which could go on infinitely but in this case we are happy with three layersmbonnin
02/18/2022, 2:42 PMhttp://pastie.org/p/0MOEG0htSH915YtjZADJCaThanks for this. Would you have the matching schema.[json|graphqls] ?
Jeremie
02/18/2022, 2:43 PMmbonnin
02/18/2022, 3:18 PMoperationBased
codegen when some queries use a lot of nested fragments. I've looked at this from every angle but I don't think it's possible to have both "direct access syntax" (skipping the fragments accessors) and not generate all possible response shapesYang
02/22/2022, 12:20 AMJeremie
02/22/2022, 12:38 AMmbonnin
02/22/2022, 1:42 AM