josemarluedke / glimmer-apollo

Ember and Glimmer integration for Apollo Client.
https://glimmer-apollo.com
MIT License
38 stars 14 forks source link

icorrect error signature for setClient warning #49

Open lifeart opened 3 years ago

lifeart commented 3 years ago

https://github.com/josemarluedke/glimmer-apollo/blob/main/packages/glimmer-apollo/src/-private/client.ts#L49

use setClient(new ApolloClient({ ... }, '${clientId}')) to define it

but setClient should resive context as first argument

image