deep-foundation / deep-foundation/hasura
generateApolloClient returns wrong type
Open
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.