--------------------
This release adds support for printing schema directives on an input type object, for example the following schema:
python
strawberry.schema_directive(locations=[Location.INPUT_FIELD_DEFINITION])
class RangeInput:
min: int
max: int
strawberry.input
class CreateUserInput:
name: str
age: int = strawberry.field(directives=[RangeInput(min=1, max=100)])
prints the following:
graphql
directive rangeInput(min: Int!, max: Int!) on INPUT_FIELD_DEFINITION
input Input sensitiveInput(reason: "GDPR") {
firstName: String!
age: Int! rangeInput(min: 1, max: 100)
}
Contributed by [Etty](https://github.com/estyxx) via [PR #2233](https://github.com/strawberry-graphql/strawberry/pull/2233/)