Open teh opened 7 years ago
Code in question: https://github.com/jml/graphql-api/blob/master/src/GraphQL/Resolver.hs#L433-L444
One solution would be to relax the constraint for what types we allow in unions. We can resolve anything that has a HasResolver
instance, but OTOH the current error messages are quite nice...
I tried modelling a tree with recursive entries, but if try to model this:
I get:
because
RecTreeQ
is anewtype