New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use defaultClient in @Apollo Decorator #22
Comments
@Quramy how would you want to see the API? |
Thanks for your reply. I see https://github.com/apollostack/angular2-apollo/blob/master/src/angular2Apollo.ts#L14 so it seems that we can use the And I also see https://github.com/apollostack/angular2-apollo/blob/master/examples/hello-world/client/main.ts#L35 . |
We would have to wrap the constructor of a component to have an access to |
Closing in favor of #41 |
Hi. I'm trying angular2-apollo reading http://docs.apollostack.com/apollo-client/angular2.html#apollo .
I'm confused because the following usage of Apollo decorator:
It seems that the
client
parameter is required. Can you make it optional? I want angular2-apollo uses the defaultApolloClient by the default.The text was updated successfully, but these errors were encountered: