Skip to content

Diff should detect deprecated directive on input field and field argument #2199

Open
@ZejunNinaWang

Description

@ZejunNinaWang

Is your feature request related to a problem? Please describe.

The GraphQL Spec recently allowed the deprecated directive to be added on input field and field argument (pr link). However, the diff API in latest graphql-inspector does not detect the deprecated directive added on input field and field argument.

Describe the solution you'd like

Check if a field argument or input field is deprecated using the isDeprecated function and add to changes if found any

Describe alternatives you've considered

none

Additional context

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions