Tomaz Zlender
Tomaz Zlender
I see now that there was already another [PR](https://github.com/bitwalker/distillery/pull/691) that changed the docs, but was reverted.
@meh it is Erlang/OTP version 19, more specifically 19.0.2. Modules User and Message are defined because otherwise I got this error. ``` User.__struct__/1 is undefined, cannot expand struct User ```...
Hm, not sure why I got :badarg before. I ran above code again and it worked OK. So I guess the question is why prefixing module User inside Amnesia.transaction block...
@jmerriweather agree, it doesn't make sense to have them. Is using Database.User instead of User inside transaction block expected behaviour? If it is, I can update README example.
One way to solve the restore of the vertical scroll position after a reload. ``` function scrollToStoredPosition() { let scrollPosition = localStorage.getItem("scrollPosition") window.scrollTo(0, parseInt(scrollPosition)) } function storePosition() { localStorage.setItem("scrollPosition", window.scrollY)...
I am also getting 404 error for http://localhost:9999/api/transact. I installed datomicism with `npm install datomicism -g`. @ohlo how did you manually install datomicism from git repository?