Correctly handle self-recursive types automatically #152
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Issues that anyone could pick up and implement if useful to them
(Split from #149.)
If you have in your schema
then genqlient by default generates
which does not compile. Of course you can manually add
pointer: true
, but we could just do that automatically because it's the only valid way to represent this. Apparently this comes up a lot with Hasura-generated schemas, so although it seems a bit special-casey it's probably worth handling.The text was updated successfully, but these errors were encountered: