File tree 3 files changed +7
-1
lines changed 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -474,6 +474,7 @@ export {
474
474
DangerousChangeType ,
475
475
findBreakingChanges ,
476
476
findDangerousChanges ,
477
+ findSchemaChanges ,
477
478
} from './utilities/index.js' ;
478
479
479
480
export type {
Original file line number Diff line number Diff line change @@ -78,6 +78,8 @@ export interface DangerousChange {
78
78
/**
79
79
* Given two schemas, returns an Array containing descriptions of all the types
80
80
* of breaking changes covered by the other functions down below.
81
+ *
82
+ * @deprecated Please use `findSchemaChanges` instead. Will be removed in v18.
81
83
*/
82
84
export function findBreakingChanges (
83
85
oldSchema : GraphQLSchema ,
@@ -92,6 +94,8 @@ export function findBreakingChanges(
92
94
/**
93
95
* Given two schemas, returns an Array containing descriptions of all the types
94
96
* of potentially dangerous changes covered by the other functions down below.
97
+ *
98
+ * @deprecated Please use `findSchemaChanges` instead. Will be removed in v18.
95
99
*/
96
100
export function findDangerousChanges (
97
101
oldSchema : GraphQLSchema ,
@@ -103,7 +107,7 @@ export function findDangerousChanges(
103
107
) ;
104
108
}
105
109
106
- function findSchemaChanges (
110
+ export function findSchemaChanges (
107
111
oldSchema : GraphQLSchema ,
108
112
newSchema : GraphQLSchema ,
109
113
) : Array < BreakingChange | DangerousChange > {
Original file line number Diff line number Diff line change @@ -106,6 +106,7 @@ export {
106
106
DangerousChangeType ,
107
107
findBreakingChanges ,
108
108
findDangerousChanges ,
109
+ findSchemaChanges ,
109
110
} from './findBreakingChanges.js' ;
110
111
export type { BreakingChange , DangerousChange } from './findBreakingChanges.js' ;
111
112
You can’t perform that action at this time.
0 commit comments