There is special treatment of Maybe when deriving instances using Generic -- Maybe fields become optional.
I think it might make sense to apply the same special treatment to the Proxy type -- Proxy fields should probably also be optional -- they can only have one value after all. (And requiring a null field seems a bit unnecessary)
There is special treatment of
Maybewhen deriving instances usingGeneric--Maybefields become optional.I think it might make sense to apply the same special treatment to the
Proxytype --Proxyfields should probably also be optional -- they can only have one value after all. (And requiring anullfield seems a bit unnecessary)