Skip to content

Usage with Dune and Melange #287

@jchavarri

Description

@jchavarri

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions