graphql-python / graphql-python/graphene

Can I use deprecation_reason in InputObjectType?

Open
#1,250 2 comments 0 reactions 0 assignees View on GitHub
🐛 bug
Dominant language
Python
Stars
8.2k
Forks
818
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{
filter:TestFilter
}
TestFilter{
id: IntFilter,
name: StringFilter
}
StringFilter = type("String", graphene.InputobjectType, {key:value})
How can I mark "name" is "deprecation_reason"?
thanks

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.