Open jchavarri opened 1 year ago
When trying to use graphql-ppx with Melange, one runs into a couple of issues:
ppx_runtime_libraries
graphql_ppx.graphql_ppx_runtime
melange
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.
native
cc @anmonteiro @rgrinberg
When trying to use graphql-ppx with Melange, one runs into a couple of issues:
ppx_runtime_libraries
bringsgraphql_ppx.graphql_ppx_runtime
, but this library is not compatible withmelange
modesFor 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