Skip to content

Commit

Permalink
fix last spec
Browse files Browse the repository at this point in the history
  • Loading branch information
modosc committed Feb 26, 2020
1 parent 83e82d1 commit 05717ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/utilities/__tests__/buildASTSchema-test.js
Expand Up @@ -743,7 +743,7 @@ describe('Schema Builder', () => {
field2: Int @deprecated(reason: "Because I said so")
enum: MyEnum
field3(oldArg: String @deprecated, arg: String): String
field4(oldArg: String @deprecated(reason: "why not?"), arg: String): String
field4(oldArg: String @deprecated(reason: "Why not?"), arg: String): String
field5(arg: MyInput): String
}
`;
Expand Down
1 change: 1 addition & 0 deletions src/utilities/extendSchema.js
Expand Up @@ -501,6 +501,7 @@ export function extendSchemaImpl(
type,
description: getDescription(arg, options),
defaultValue: valueFromAST(arg.defaultValue, type),
deprecationReason: getDeprecationReason(arg),
astNode: arg,
};
}
Expand Down

0 comments on commit 05717ee

Please sign in to comment.