aaronwlee / oak-graphql

A simple graphql middleware for oak deno framework.
Other
121 stars 23 forks source link

Errors on import #38

Closed dadtmt closed 3 years ago

dadtmt commented 3 years ago

I have these errors

error: TS2464 [ERROR]: A computed property name must be of type 'string', 'number', 'symbol', or 'any'.
  public [$$asyncIterator]() {
         ~~~~~~~~~~~~~~~~~
    at https://deno.land/x/oak_graphql@0.6.2/graphql-subscriptions/pubsub-async-iterator.ts:71:10

TS2464 [ERROR]: A computed property name must be of type 'string', 'number', 'symbol', or 'any'.
      [$$asyncIterator]() {
      ~~~~~~~~~~~~~~~~~
    at https://deno.land/x/oak_graphql@0.6.2/graphql-subscriptions/with-filter.ts:41:

Here my deps.ts :

export { Application, Router } from "https://deno.land/x/oak@v6.3.2/mod.ts";
export { gql } from "https://deno.land/x/oak_graphql@0.6.2/mod.ts";`
dadtmt commented 3 years ago

I am closing the issue because it happened on a WSL2 ubuntu environment and a docker everything is working fine on my regular ubuntu so I guess there is something wrong on my side. (Let me know if you have a clue for me for this issue, thanks)