Closed philtweir closed 4 months ago
I'm inclined to believe that adding an abstraction layer for self-checking classes is unnecessary abstraction -- and I don't think having a third-party dependency is unreasonable practice in the Python ecosystem, if it provides a relevant improvement over standard library classes. However, there is a reasonable point that supporting dataclasses would be an intuitive and relevant addition and, in many cases, users may not be interested in or familiar with attrs
.
As a compromise, dewret will take dataclasses
as an alternative, but as two options, rather than a generalized abstraction layer. If that genuinely becomes too limiting in the future, then we can refactor.
Closed by #14
Feedback: