We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Apollo client changed the way graphql-tag is exported, it causes runtime error after babel transform:
graphql-tag
My versions:
"@apollo/client": "3.3.19", "@babel/core": "7.14.3", "babel-plugin-graphql-tag": "3.3.0", "graphql-tag": "2.12.3",
Babel config:
module.exports = { presets: ['module:metro-react-native-babel-preset'], plugins: [ ['graphql-tag', { importSources: ['graphql-tag'] }], ], };
It works fine when I reverted @apollo/client
The text was updated successfully, but these errors were encountered:
try "@apollo/client": "3.3.16"
Sorry, something went wrong.
older version works. but we need to update Apollo version. so this still needs to be fixed.
I was able to workaround this on 3.5.x by setting this plugin to only modify imports of @apollo/client
['graphql-tag', { importSources: ['@apollo/client'] }]
No branches or pull requests
Apollo client changed the way
graphql-tag
is exported, it causes runtime error after babel transform:My versions:
Babel config:
It works fine when I reverted @apollo/client
The text was updated successfully, but these errors were encountered: