Andor Penzes
Andor Penzes
Related to: https://github.com/liqd/aula/pull/752
Related type: https://github.com/liqd/aula/blob/91f658f9f210695f7071c6cd3c2027eae5dd9858/src/Types/Core.hs#L188
I would take a step further, and turn them into some type safety trick.
I am ok to have assertion in production for the time being, but for me it is a sign for a missing abstraction that we cover with an `assert`. For...
When we have enough data points at the late stage of the project.
I would like to implement this change.
I've encountered use cases of the current user as a parameter for the persistent layer. - Adding data in middle of a transaction, lead the persist broken into 3 transactions,...
An easy workaround for this is to create a similar function to `addWithUser` which has the following type: ``` haskell modifiesWithUser :: ... -> (User -> AUpdate a) -> m...
If you feel so to try that implementation it is good for me. But I would be totally happy with the `User -> AUpdate a` version, as we have to...
Related to: https://github.com/liqd/aula/issues/805