Skip to content

Commit

Permalink
Expose findSchemaChanges to users
Browse files Browse the repository at this point in the history
  • Loading branch information
wtrocki committed Sep 17, 2019
1 parent 2e1becb commit bc2db60
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/utilities/findBreakingChanges.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,11 @@ export function findDangerousChanges(
return ((dangerousChanges: any): Array<DangerousChange>);
}

function findSchemaChanges(
/**
* Given two schemas, returns an Array containing descriptions of all the types
* of potentially breaking change and dangerous change
*/
export function findSchemaChanges(
oldSchema: GraphQLSchema,
newSchema: GraphQLSchema,
): Array<BreakingChange | DangerousChange> {
Expand Down

0 comments on commit bc2db60

Please sign in to comment.