kellyellis
kellyellis
Just an FYI for anyone reading this, I used the same solution, and it breaks if the client uses fragments: `[interface conversion: ast.Selection is *ast.FragmentSpread, not *ast.Field]` I'll post here...
Here is my updated recursive solution to account for fragments. I did modify the original signature and skipped passing in a `selectionPath` param, because I didn't need it and skipping...
Edit: doesn't work for in-line fragments, sigh. Not fixing it now to do so since my team isn't using them.