These constraints don't give anything, and the relevant constraint
can be delegated to the call site when needed. I have some cases
where a type only has one or the other JSON direction
(eg. ToJSON but not FromJSON), and this constraint stops me
from being able to use ResourcefulEntity.
These constraints don't give anything, and the relevant constraint can be delegated to the call site when needed. I have some cases where a type only has one or the other JSON direction (eg. ToJSON but not FromJSON), and this constraint stops me from being able to use ResourcefulEntity.