Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage with Dune and Melange #287

Open
jchavarri opened this issue Dec 22, 2022 · 0 comments
Open

Usage with Dune and Melange #287

jchavarri opened this issue Dec 22, 2022 · 0 comments

Comments

@jchavarri
Copy link

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

  • ppx_runtime_libraries brings graphql_ppx.graphql_ppx_runtime, but this library is not compatible with melange modes
  • there is no way to pick a "non-native" mode when using dune

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: 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant