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

Hi Jaap et al. My coworker points out that the generated code for a fragment file (at least) uses require to bring in @apollo/client but exports using es6 style.. This...

I've written a GraphQL request which uses several times the same fragment through different fragments (see the code below and https://github.com/coq/bot/blob/bc65314888df8e8c6c8bad55624f9492a36a1e78/bot-components/GitHub_GraphQL.ml#L30-L47 for the full context). ```graphql fragment Column on ProjectColumn...

Hi. I'm using `graphql-ppx` to talk to Shopify API and I found the following in my `.bs.js` file: ```js import * as GraphQL_PPX from "@reasonml-community/graphql-ppx/bucklescript/GraphQL_PPX.bs.js"; ``` This means I would...

Hi there, I initially created this pull request then realising it is not as simple as just swapping out process.arch "arm64" for x64. https://github.com/teamwalnut/graphql-ppx/pull/278 I am running into issues when...

When running the ppx on this mutation ```rescript module AddEntry = %graphql(` mutation addEntry($body: String! @encrypted) { insert_entries_one(object: { body: $body}) { id body } } `) ``` I get...

Reproduction: https://github.com/illusionalsagacity/graphql-ppx/commit/9630e024722b813603161dbfb8c181f73f7b4efd#diff-dccca68100be513fb2d07560888ab2c0785e6033bc6babd303fb6bfe07810f1dR52 `tests_bucklescript/__snapshots__/Generate_Apollo_scalarsInput_re.bda5f930.0.snapshot` line 52 when using `customFields`, the Scalar types in input objects do not seem to be using those custom parsers and instead show up as `option(Js.Json.t)` Looks...

I think they are not supported. assume you have this mutation. ```graphql mutation updateX( $fooInput: Foo! ) { updateX(input: $fooInput) } ``` you can use any input type instead of...

Hi there, In the case one cannot change the graphql schema, and the said graphql schema contains some input types with uppercase fields (while a relatively rare practice, it does...

Trying to install pupilfirst (https://developers.pupilfirst.com/docs/development_setup/) it stops when running `CXX=c++ yarn` with: ``` error /.../pupilfirst/node_modules/@baransu/graphql_ppx_re: Command failed. Exit code: 1 Command: node ./copyPlatformBinaryInPlace.js Arguments: Directory: /.../pupilfirst/node_modules/@baransu/graphql_ppx_re Output: graphql_ppx does not...

I've been trying to use `@ppxCustom` on this fragment ``` fragment UserFragment on User { id firstName } ``` where `User` has the following definition ``` type User { id:...