Skip to content

Commit

Permalink
fix: removing inaccessible directive should not be considered as brea…
Browse files Browse the repository at this point in the history
…king change
  • Loading branch information
josemariaeliasMM committed Jan 11, 2024
1 parent 9b7bc8b commit d57f123
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/controller/breakingChanges/type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ export class TypeChange implements BreakingChangeService {
const split = change.path.split('.');
const typeName = split[0];

if (typeName === 'Mutation' || typeName === 'Query') {
if (
typeName === 'Mutation' ||
typeName === 'Query' ||
typeName === '@inaccessible'
) {
return {
...change,
isBreakingChange: false,
Expand Down

0 comments on commit d57f123

Please sign in to comment.