MCPcopy
hub / github.com/github/docs / getGraphqlBreakingChanges

Function getGraphqlBreakingChanges

src/graphql/lib/index.js:42–50  ·  view source on GitHub ↗
(version)

Source from the content-addressed store, hash-verified

40}
41
42export function getGraphqlBreakingChanges(version) {
43 const graphqlVersion = getGraphqlVersion(version)
44 if (!upcomingChanges) {
45 upcomingChanges = readCompressedJsonFileFallbackLazily(
46 './src/graphql/data/upcoming-changes.json'
47 )()
48 }
49 return upcomingChanges[graphqlVersion]
50}
51
52export function getPreviews(version) {
53 const graphqlVersion = getGraphqlVersion(version)

Callers 2

getServerSidePropsFunction · 0.90
graphql.jsFile · 0.90

Calls 2

getGraphqlVersionFunction · 0.85

Tested by

no test coverage detected