pietrograndi.com
Lift the Model to a SuperModel
TL;TR: using type parameters we can simplify the main update function, moving the logic to the submodule. The code for this post is available on a github repository. Achieving modularity in …