-
Notifications
You must be signed in to change notification settings - Fork 266
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
Cannot find namespace 'ZenObservable' in aws-appsync-subscription-link/lib/subscription-handshake-link.d.ts #713
Comments
sample Angular v12 app uploaded for reproducing issue mentioned in awslabs/aws-mobile-appsync-sdk-js#713
This is also a problem for me with Angular 13 "dependencies": { |
Any updates on this? It has stopped me dead in my tracks, I can't find a solution to this. |
@wildbsiu I got it working, details to follow |
In addition to the code I just made a pull request for, I had to add the following line to my Angular project's polyfills.ts
|
Big upvote, I can't upgrade to Angular 14, which requires a version of apollo-angular that depends on zen-observable-ts 1.2.5. |
@dguisinger thank you for opening the PR with the fix. |
Do you want to request a feature or report a bug?
bug
What is the current behavior?
I am using the Apollo client along with aws-appsync-auth-link and aws-appsync-subscription-link packages in an Angular v12+ project.
I am trying to upgrade Apollo Client from v2.6 to v3.x. While doing so I had to upgrade aws-appsync-auth-link and aws-appsync-subscription-link packages too to their latest version. Below are the dependencies and dev-dependencies in my current package.json
When trying to do ng build I am getting below errors:
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
Steps provided above. Also, a sample Angular v12 app is created in https://github.com/wildbsiu/testing-aws-appsync-subscription-link-issue to reproduce the issue. Run ng build command to reproduce the error(s).
What is the expected behavior?
Above mentioned errors for type ZenObservable shouldn't come during build.
Which versions and which environment (browser, react-native, nodejs) / OS are affected by this issue? Did this work in previous versions?
Worked in previous versions 2.x of aws-appsync-auth-link and aws-appsync-subscription-link
The text was updated successfully, but these errors were encountered: