teamwalnut / graphql-ppx

GraphQL language primitives for ReScript/ReasonML written in ReasonML
https://graphql-ppx.com
MIT License
257 stars 53 forks source link

Usage with Dune and Melange #287

Open jchavarri opened 1 year ago

jchavarri commented 1 year ago

When trying to use graphql-ppx with Melange, one runs into a couple of issues:

For what it's worth, the diff we ended up with —and unblocked the compilation of the codebase we were trying to build— is here: https://github.com/teamwalnut/graphql-ppx/compare/master...jchavarri:melange.

One thing that was surprising is that once the native mode was set to false, it was not necessary to include the runtime for the code to compile successfully.

cc @anmonteiro @rgrinberg