Skip to content

Commit

Permalink
refactor(mergeSchemas): remove variable
Browse files Browse the repository at this point in the history
Remove unnecessary variable.
  • Loading branch information
yaacovCR committed Oct 25, 2019
1 parent 9ae390c commit fcf6752
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/stitching/mergeSchemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,12 +186,11 @@ export default function mergeSchemas({
}

Object.keys(typeCandidates).forEach(typeName => {
const mergeResult = mergeTypeCandidates(
types[typeName] = mergeTypeCandidates(
typeName,
typeCandidates[typeName],
onTypeConflict ? onTypeConflictToCandidateSelector(onTypeConflict) : undefined
);
types[typeName] = mergeResult;
});

healTypes(types, directives, { skipPruning: true });
Expand Down

0 comments on commit fcf6752

Please sign in to comment.