/app/node_modules/graphql-tag/index”‘ has no exported member ‘enableExperimentalFragmentVariables’.

I’m trying to import enableExperimentalFragmentVariables from graphql-tag in my angular project using
import { enableExperimentalFragmentVariables } from ‘graphql-tag’;.

but the import fails saying: /app/node_modules/graphql-tag/index”‘ has no exported member ‘enableExperimentalFragmentVariables’

I have the following versions in my package.json
“graphql”: “^14.2.1”,
“graphql-tag”: “^2.10.1”,

Is the enableExperimentalFragmentVariables still available? In which graphql-tag version?
What other reason could there be why my import fails?

Read more here: Source link