Skip to content

Commit

Permalink
Move specifiedByUrl between description and serialize
Browse files Browse the repository at this point in the history
  • Loading branch information
m14t committed Mar 5, 2020
1 parent b44e2c9 commit 1377aeb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utilities/extendSchema.js
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,8 @@ export function extendSchemaImpl(

return new GraphQLScalarType({
...config,
extensionASTNodes: config.extensionASTNodes.concat(extensions),
specifiedByUrl,
extensionASTNodes: config.extensionASTNodes.concat(extensions),
});
}

Expand Down Expand Up @@ -667,9 +667,9 @@ export function extendSchemaImpl(
return new GraphQLScalarType({
name,
description,
specifiedByUrl: getSpecifiedByUrl(astNode),
astNode,
extensionASTNodes,
specifiedByUrl: getSpecifiedByUrl(astNode),
});
}
case Kind.INPUT_OBJECT_TYPE_DEFINITION: {
Expand Down

0 comments on commit 1377aeb

Please sign in to comment.