Version
Package version
latest
Describe the bug
A clear and concise description of what the bug is.
Building an running the example, here https://github.com/Coobaha/graphql-to-reason/tree/master/examples throw the following error:
> bsb -make-world -w
>>>> Start compiling
[7/7] Building src/SchemaTypes_builder.mlast.d
[2/4] Building src/SchemaTypes-GraphqlToReasonBasicExample.cmj
We've found a bug for you!
/Users/prisc_000/Downloads/Coobaha-examples_basic/src/SchemaTypes.re 1:40-6:1
1 │ include SchemaTypes_builder.MakeSchema({
2 │ module Scalars = {};
. │ ...
5 │ type directiveResolver('payload);
6 │ });
Signature mismatch:
...
Type declarations do not match:
type resolver('parent, 'args, 'fieldType, 'result) =
('parent, 'args) => Js.Promise.t('result)
is not included in
type resolver('payload, 'fieldType, 'result)
File "/Users/prisc_000/Downloads/Coobaha-examples_basic/src/SchemaTypes.re", line 3, characters 3-101:
Actual declaration
They have different arities.
>>>> Finish compiling(exit: 1)
reproduction here.https://github.com/idkjs/coobaha-repro
Expected behaviour
A clear and concise description of what you expected to happen.
Expected behaviour was for project to compile.
Version
Package version
latest
Describe the bug
A clear and concise description of what the bug is.
Building an running the example, here https://github.com/Coobaha/graphql-to-reason/tree/master/examples throw the following error:
reproduction here.https://github.com/idkjs/coobaha-repro
Expected behaviour
A clear and concise description of what you expected to happen.
Expected behaviour was for project to compile.