graphql-let
graphql-let copied to clipboard
ReferenceError: name is not defined
I don't know why, but this name
variable is not available for this function:
https://github.com/piglovesyou/graphql-let/blob/741deffe21ae011193c329e3685f21b3770b7e74/src/lib/config.ts#L34-L40
(maybe this is referring to the global dom name
and ts accepts it?)
so the error report does not report the error
edit: some context
schema: "http://localhost:3000/graphql"
# documents: "app/javascript/**/*.gql" # commented this line, which is probably my issue
plugins:
- typescript-operations
- typescript-react-apollo