If the decorated object is just a regular class and not a dataclass, our decorator should take care of adding the @dataclass wrapper, so that users don't need to write two decorators (but can still pass in an actual dataclass if they have one and want to).
If the decorated object is just a regular class and not a dataclass, our decorator should take care of adding the
@dataclass
wrapper, so that users don't need to write two decorators (but can still pass in an actual dataclass if they have one and want to).