def METHOD_NAME():
    @strawberry.type
    class Query:
        @strawberry.field
        def hello(self, name: Optional[str] = None) -> str:
            return f"Hi {name}"
    schema = strawberry.Schema(query=Query)
    assert str(schema) == dedent(
        """\
        type Query {
          hello(name: String = null): String!
        }"""
    )