def METHOD_NAME():
    @strawberry.field
    def name() -> str:
        return "foo"
    MyType = create_type("MyType", [name], description="This is a description")
    definition = get_object_definition(MyType, strict=True)
    assert definition.name == "MyType"
    assert definition.description == "This is a description"
    assert definition.is_input is False
    assert len(definition.fields) == 1
    assert definition.fields[0].python_name == "name"
    assert definition.fields[0].graphql_name is None
    assert definition.fields[0].type == str