@@ -635,7 +635,7 @@ describe('Type System Printer', () => {
635635 (as specified by [CommonMark](https://commonmark.org/).
636636 """
637637 reason: String = "No longer supported"
638- ) on FIELD_DEFINITION | ENUM_VALUE
638+ ) on FIELD_DEFINITION | ENUM_VALUE | ARGUMENT_DEFINITION | INPUT_FIELD_DEFINITION
639639
640640 """
641641 A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.
@@ -734,7 +734,7 @@ describe('Type System Printer', () => {
734734 type __Field {
735735 name: String!
736736 description: String
737- args: [__InputValue!]!
737+ args(includeDeprecated: Boolean = false) : [__InputValue!]!
738738 type: __Type!
739739 isDeprecated: Boolean!
740740 deprecationReason: String
@@ -754,6 +754,8 @@ describe('Type System Printer', () => {
754754 A GraphQL-formatted string representing the default value for this input value.
755755 """
756756 defaultValue: String
757+ isDeprecated: Boolean!
758+ deprecationReason: String
757759 }
758760
759761 """
@@ -800,7 +802,7 @@ describe('Type System Printer', () => {
800802 interfaces: [__Type!]
801803 possibleTypes: [__Type!]
802804 enumValues(includeDeprecated: Boolean = false): [__EnumValue!]
803- inputFields: [__InputValue!]
805+ inputFields(includeDeprecated: Boolean = false) : [__InputValue!]
804806 ofType: __Type
805807 }
806808
@@ -870,7 +872,7 @@ describe('Type System Printer', () => {
870872 # for how to access supported similar data. Formatted using the Markdown syntax
871873 # (as specified by [CommonMark](https://commonmark.org/).
872874 reason: String = "No longer supported"
873- ) on FIELD_DEFINITION | ENUM_VALUE
875+ ) on FIELD_DEFINITION | ENUM_VALUE | ARGUMENT_DEFINITION | INPUT_FIELD_DEFINITION
874876
875877 # A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.
876878 #
@@ -961,7 +963,7 @@ describe('Type System Printer', () => {
961963 type __Field {
962964 name: String!
963965 description: String
964- args: [__InputValue!]!
966+ args(includeDeprecated: Boolean = false) : [__InputValue!]!
965967 type: __Type!
966968 isDeprecated: Boolean!
967969 deprecationReason: String
@@ -977,6 +979,8 @@ describe('Type System Printer', () => {
977979
978980 # A GraphQL-formatted string representing the default value for this input value.
979981 defaultValue: String
982+ isDeprecated: Boolean!
983+ deprecationReason: String
980984 }
981985
982986 # A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all
@@ -1015,7 +1019,7 @@ describe('Type System Printer', () => {
10151019 interfaces: [__Type!]
10161020 possibleTypes: [__Type!]
10171021 enumValues(includeDeprecated: Boolean = false): [__EnumValue!]
1018- inputFields: [__InputValue!]
1022+ inputFields(includeDeprecated: Boolean = false) : [__InputValue!]
10191023 ofType: __Type
10201024 }
10211025
0 commit comments