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

Update apollo client to v3 #39

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

aghreed
Copy link
Contributor

@aghreed aghreed commented Dec 21, 2021

More updates needed to these packages... still working through details locally to ensure we don't have to needlessly get into a merge+publish cycle.

@@ -41,23 +41,23 @@
"threshold": "1 Kb"
}
],
"dependencies": {
"@apollo/client": "^3.5.6",
"apollo-fragment-utils": "^0.2.1",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll need to bump the version of apollo-fragment-utils once it gets published with the changes. Wondering if there's a better way to do that with lerna... or if this has to be a two step operation

Comment on lines +7 to +11
if (
fragmentAST.definitions &&
fragmentAST.definitions[0] &&
fragmentAST.definitions[0].kind === Kind.FRAGMENT_DEFINITION
) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Had to make some updates here for TS to compile.

Would appreciate feedback on the console.warn usage here

Comment on lines 12 to 13
"apollo-link-state": "^0.4.1",
"apollo-link-state-fragment": "^0.1.0",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Jury is still out on what to do with these deps. Will circle back after having a conversation

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.

1 participant