We currently do not properly detect when an overload of a function is decorated with @dataclass_transform. See the existing test here. The goal of this ticket is to resolve the TODOs in this test.
See this discussion for a concrete plan on how to implement this.