Skip to content
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

Fixed issues when using with Angular #731

Merged
merged 1 commit into from
Oct 7, 2022

Conversation

dguisinger
Copy link
Contributor

Issue #, if available: #713, #566, #727, #709

Description of changes:
Wasn't building in Angular projects. Used a fix from #566 that was never merged to fix "Unknown is not assignable" error. This was originally rejected in #727 as unnecessary if you include your Apollo components from "@apollo/client", however this is not a valid solution. Apollo/client has a dependency on React, whereas Apollo/client/core does not. See the following thread: apollographql/apollo-client#7318

Fixed issues surrounding with ZenObservable.
The current release of "@Apollo/client" was including an un-released version of 1.2.5, whereas npm install was grabbing the current release of 1.1.0. These are incompatible. I had included 1.2.5 in my Angular project to resolve that. This PR moves that dependency into the package's package.json.

ZenObservable still wasn't found, so I implemented the fix from Gerhardavon in #709, however the syntax had to change slightly to work.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@dguisinger dguisinger requested a review from a team as a code owner August 17, 2022 21:43
@MohanSKumar
Copy link

could this please be merged? could not get around the build errors for a react app.. :(

Copy link
Contributor

@david-mcafee david-mcafee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 🎉

@dguisinger
Copy link
Contributor Author

What is the status of this?

I hate to be that guy, but I'm going to be honest... The length of time these issues were open without resolution, and that this pull request has taken a month and a half makes me feel like this AWS Lab project is in the territory of abandonware....

@dguisinger
Copy link
Contributor Author

@david-mcafee @dpilch any status update on getting this merged and released?
Its coming up on 2 months since submitting and a month since getting two approvals.

@david-mcafee david-mcafee merged commit 5d275e9 into awslabs:master Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants