I have a method defined on a model. The first time I retreive this model after running the server, node can successfully call the method on this model. If I reload the page, node crashes, because the returned model has the method set to undefined instead of a function.
If I disable caching globally, the issue stops occurring, and it runs as intended.
Node: v0.10.30 Driver: psql orm: v2.1.19
I have a method defined on a model. The first time I retreive this model after running the server, node can successfully call the method on this model. If I reload the page, node crashes, because the returned model has the method set to undefined instead of a function.
If I disable caching globally, the issue stops occurring, and it runs as intended.