-
Notifications
You must be signed in to change notification settings - Fork 161
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
Change apollo-angular imports to named non-namespace imports #223
Comments
Is there any update on this issue? Cause this import breaks unit tests and it is annoying... thanks! |
It's probably worth noting that the |
But I have seen that the main issues board refers to this repository, do you think we should create this issue in the board you mention? @joepvl |
That would be my guess, as relevant PRs would also be in that repo. In any case, I wouldn't hold my breath for this being implemented by the maintainers. I worked around the issue myself by using the |
@joepvl perfect, many thanks for your response! I did not know about this hook, I will take a look! |
I am running into the exact same problem described above. |
Nop I did not have time to do it. If so, I will posted it here |
Thanks for the update. In that case, I will create one and link it here 😄 |
Is your feature request related to a problem? Please describe.
Because of this thymikee/jest-preset-angular#963 bug it is not possible to write tests with generated services.
Describe the solution you'd like
Imports for angular-apollo should be changed from
import * as Apollo from 'apollo-angular';
toimport {Apollo, ...} from 'apollo-angular'
Describe alternatives you've considered
Hacky solutions described in the jest-preset-angular issue, that might have other unknown effects.
The text was updated successfully, but these errors were encountered: