Skip to content
This repository has been archived by the owner on Apr 15, 2020. It is now read-only.

Commit

Permalink
fix(transforms): VisitSchemaKind.TYPE should have greatest priority
Browse files Browse the repository at this point in the history
  • Loading branch information
yaacovCR committed Sep 4, 2019
1 parent 4a686cb commit cb61e68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transforms/visitSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ function getTypeSpecifiers(
): Array<VisitSchemaKind> {
const specifiers = [VisitSchemaKind.TYPE];
if (type instanceof GraphQLObjectType) {
specifiers.unshift(
specifiers.push(
VisitSchemaKind.COMPOSITE_TYPE,
VisitSchemaKind.OBJECT_TYPE,
);
Expand Down

0 comments on commit cb61e68

Please sign in to comment.