Skip to content

Commit bc2db60

Browse files
committed
Expose findSchemaChanges to users
1 parent 2e1becb commit bc2db60

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/utilities/findBreakingChanges.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,11 @@ export function findDangerousChanges(
102102
return ((dangerousChanges: any): Array<DangerousChange>);
103103
}
104104

105-
function findSchemaChanges(
105+
/**
106+
* Given two schemas, returns an Array containing descriptions of all the types
107+
* of potentially breaking change and dangerous change
108+
*/
109+
export function findSchemaChanges(
106110
oldSchema: GraphQLSchema,
107111
newSchema: GraphQLSchema,
108112
): Array<BreakingChange | DangerousChange> {

0 commit comments

Comments
 (0)