graphql-ppx
graphql-ppx copied to clipboard
GraphQL language primitives for ReScript/ReasonML written in ReasonML
testing master with a sdl schema, looks like i can get __typename on unions. ```graphql schema { query: Queries } type Queries { getUsers: [User!]! } type User { id:...
If interface A is implemented by object B then a fragment F on A should be spreadable on a field returning object B. This is described in the spec under...
The `introspection query` link in the README is broken. > The easiest way to add this to your project is using an [introspection query](https://github.com/graphql/graphql-js/blob/master/src/utilities/introspectionQuery.js) to your backend. Looks like the...
```graphql fragment Html on Node { ... on MarkdownRemark { __typename html } } ``` The compiler fails with this message: ``` Error: Inline fragments are not yet supported ```...
Add relay mode to support Relay with `graphql_ppx`. There will also be a PR on https://github.com/zth/reason-relay.
First of all. Thank you for your work. I've got this error in Rescript. I am really not sure what went wrong. ![image](https://user-images.githubusercontent.com/38931218/106177372-6545d080-61d3-11eb-896e-d324a3b39eee.png) Here is the function of handling response...
Following discussions in discord I think it makes sense to have an option to do exhaustive union queries. let's say I have a union type ```gql union T = A...
When I am using a fragment inside a query or mutation the warning number 20 is triggered. ``` Warning number 20 /path/to/File.re this argument will not be used by the...