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
graphql@17.0.0-alpha.1 was released https://github.com/graphql/graphql-js/releases/tag/v17.0.0-alpha.1 and @graphql-tools/utils has an issue because of importing getOperationRootType which is not available
getOperationRootType
Created minimal repo: https://github.com/PabloSzx/graphql-17-utils
> import { parse, GraphQLError, isNonNullType, Kind, valueFromAST, print, isObjectType, isListType, isSpecifiedDirective, astFromValue, isSpecifiedScalarType, isIntrospectionType, isInterfaceType, isUnionType, isInputObjectType, isEnumType, isScalarType, GraphQLDeprecatedDirective, specifiedRules, concatAST, validate, versionInfo, buildClientSchema, visit, TokenKind, Source, isTypeSystemDefinitionNode, getNamedType, GraphQLString, GraphQLNonNull, GraphQLList, GraphQLID, GraphQLBoolean, GraphQLFloat, GraphQLInt, GraphQLObjectType, GraphQLInterfaceType, GraphQLInputObjectType, GraphQLDirective, GraphQLUnionType, GraphQLEnumType, GraphQLScalarType, isNamedType, getNullableType, isLeafType, GraphQLSchema, isDirective, isCompositeType, doTypesOverlap, getOperationAST, getDirectiveValues, GraphQLSkipDirective, GraphQLIncludeDirective, typeFromAST, isAbstractType, getOperationRootType, TypeNameMetaFieldDef, buildASTSchema } from 'graphql'; ^^^^^^^^^^^^^^^^^^^^ SyntaxError: The requested module 'graphql' does not provide an export named 'getOperationRootType' at ModuleJob._instantiate (node:internal/modules/esm/module_job:128:21) at async ModuleJob.run (node:internal/modules/esm/module_job:194:5) at async Promise.all (index 0) at async ESMLoader.import (node:internal/modules/esm/loader:385:24) at async loadESM (node:internal/process/esm_loader:88:5) at async handleMainPromise (node:internal/modules/run_main:61:12)
The text was updated successfully, but these errors were encountered:
Fix GraphQL v17 incompatibility issue #4468
c0762ee
Fixed in #4469
Sorry, something went wrong.
thank you @ardatan 😄
No branches or pull requests
graphql@17.0.0-alpha.1 was released https://github.com/graphql/graphql-js/releases/tag/v17.0.0-alpha.1 and @graphql-tools/utils has an issue because of importing
getOperationRootType
which is not availableCreated minimal repo: https://github.com/PabloSzx/graphql-17-utils
The text was updated successfully, but these errors were encountered: