sainthkh / reasonql

Type-safe and simple GraphQL library for ReasonML developers.
MIT License
96 stars 5 forks source link

Module name casing error #16

Open kevanstannard opened 4 years ago

kevanstannard commented 4 years ago

I've created a Test.re file and added the code:

let query = ReasonQL.gql({|
  query AppQuery {
    hello {
      message
    }
  }
|})

When running the command bsb -make-world -clean-world I see the message:

You referred to the module ReasonQL, but we've found one called Reasonql instead.
Is the name's casing right?

Inside VSCode I see the message:

File "/Users/kevan.stannard/dev/reasonql/node_modules/.lsp/Test-Reasonql.ast", line 1:
Error: Wrong file naming: /Users/kevan.stannard/dev/reasonql/lib/bs/reasonQL.cmi
contains the compiled interface for 
ReasonQL when Reasonql was expected

Any suggestions on what might be the cause?