deep-foundation / deep-foundation/hasura

generateApolloClient returns wrong type

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
11
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Actualy generateApolloClient returns ApolloClient which has `ssl` and `path` options. Possibly we should use union type like this :
```
export type GenerateApolloClient = ApolloClient & {
path: string;
ssl: boolean;
}
```
https://github.com/deep-foundation/hasura/blob/947d587f3e53ccecf47b25fbfe5dc61fa43df321/client.tsx#L54

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.