graphql-python / graphql-python/graphene-django

Can I use deprecation_reason in InputObjectType?

Open
#1,019 0 comments 0 reactions 0 assignees View on GitHub
✨enhancement
Dominant language
Python
Stars
4.4k
Forks
760
PR merge metrics
No merged PRs in 30d

Description

Hi,
I want to mark some fields as "deprecation_reason" in my filter fields.
example:
TestQuery{
first:int
last;int
filter:TestFilter
}
TestFilter{
id: IntFilter,
name: StringFilter
}
How can I mark "name" is "deprecation_reason"?
thanks

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.