Closed aisapatino closed 3 years ago
LGTM! At some point I'll want to bump the version of graphql
specified in dependencies
as well, and maybe also move that to peerDependencies
. All good for now though since it works on v14 too.
To be safe I think I'll need to do a MAJOR bump in case someone was using it with a pre-v0.12.0 version that didn't have getIntrospectionQuery
. And since it'll be MAJOR I might as well switch the dep to a peerDep now since that'd also be a breaking change. Expect a new release in a bit.
Sounds good, thank you!
Replace
graphql.introspectionQuery
withgraphql.getIntrospectionQuery()
introspectionQuery
constant was deprecated in favor ofgetIntrospectionQuery
in v0.12.0 of graphql, and eventually removed in v15.With this change I'm able to continue generating docs for a project that's just upgraded to v15 of graphql.