I think you read that wrong. Only non-dataclass subclasses of a frozen dataclass are unfrozen. If the subclass is a dataclass it must match the super class’s frozeness--is how I read it at least… 🙂
b
bitter-ability-32190
01/24/2023, 7:28 PM
Oops that's just a typo
I learned this from Field subclasses
c
curved-television-6568
01/24/2023, 8:17 PM
?
b
bitter-ability-32190
01/24/2023, 8:21 PM
In my PR I'm making it a frozen dataclass, but the derived vanilla class isn't frozen