OxfordAbstracts / purescript-graphql-client

Typesafe graphql client for purescript
43 stars 6 forks source link

Support for unions. #92

Closed bakhtiyarneyman closed 2 years ago

bakhtiyarneyman commented 2 years ago

Closes #91.

roryc89 commented 2 years ago

@bakhtiyarneyman Thanks for adding this. It's key missing feature and using Variant in purescript makes sense.

I may move the e2e test into it's own test or example and add decodeHasura instances as so far I have been including them in this library as they tend to decode for other Gql server implementations as well. Should be merged in the next couple of days.

bakhtiyarneyman commented 2 years ago

Perfect, thanks for the swift response Rory!