github.com/opiuman/genqlient@v1.0.0/generate/testdata/queries/StructOption.graphql (about) 1 fragment VideoFields on Video { duration } 2 3 # @genqlient(struct: true) 4 query StructOption { 5 root { 6 id 7 children { 8 id 9 parent { 10 id 11 children { 12 id 13 } 14 # (it won't apply to this) 15 interfaceChildren: children { 16 id 17 ...VideoFields 18 } 19 } 20 } 21 } 22 # (nor this) 23 user { roles } 24 }