graphql-ppx icon indicating copy to clipboard operation
graphql-ppx copied to clipboard

GraphQL language primitives for ReScript/ReasonML written in ReasonML

Results 39 graphql-ppx issues
Sort by recently updated
recently updated
newest added

I have a GraphQL enum with values "public" and "other". ```graphql enum Visibility { public other } ``` and query similar to: ```reason module MyThingFragment = [%graphql {| fragment MyThingFragment...

Right now I have some compelling use cases for generating a record to represent the `t_variables` type along with functions to parse and serialize that type. The biggest thing for...

In Hasura, a nullable field `order` can be set to null with this mutation: ``` mutation ($id: String!) { update_table_by_pk(pk_columns: {id: $id}, _set: {order: null}) { id } } ```...

When there is *just* a fragment on a query (or another fragment) the ppx throws an error. **For example:** This isn't working ```gql query LoggedInQuery($workspaceId: ID!) { ...LoggedInUserFragment @arguments(workspaceId: $workspaceId)...

I encountered this using `@reasonml-community/[email protected]`. Spreading multiple fragments appears to work when the return type in question is an interface, but not when it is a concrete type. I've included...

e.g. if you open another library which also has a module which the ppx uses but doesn't implement the same functions you'll hit `unbound value`. In my case I used...

As discussed on Discord, @Andreas _might_ be willing to "donate" the name on opam. If he likes the project and decides to do so, I believe it'd be great to...

Having [email protected] means `npm install @reasonml-community/graphql-ppx` will throw this error: ``` npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected]...

In the same vein as [babel-plugin-graphql-tag](https://github.com/gajus/babel-plugin-graphql-tag), `graphql-ppx` could output a GraphQL DocumentNode. In my mind, this has a few benefits: - Eliminates the runtime bundle download and execution cost of...