We've been diving into this library and have discovered an issue:
When running graphql-codegen, it generates a Queries module in both Apollo.re and Graphql.re, potentially unnecessarily(?). That yields the following error:
We've found a bug for you!
/home/user/repo/graphql/Apollo.re 11:8-14
9 │ });
10 │
11 │ module Queries = {
12 │ module MyQuery = {
13 │ include MakeQuery({
Multiple definition of the module name Queries.
Names must be unique in a given structure or signature.
Our workaround is to comment the offending Queries module out of the Graphql.re file, allowing us to run the codegen command successfully.
We've been diving into this library and have discovered an issue:
When running
graphql-codegen, it generates aQueriesmodule in bothApollo.reandGraphql.re, potentially unnecessarily(?). That yields the following error:Our workaround is to comment the offending
Queriesmodule out of theGraphql.refile, allowing us to run the codegen command successfully.