That is much better. Yes, it meets both goals of being able to use
development. I just tried it out and also made changes to sandbar so
Thanks James. This is a simple but great addition.
On Sep 9, 1:49 pm, James Reeves <
jree...@weavejester.com> wrote:
> I don't think we should implement this particular change, because
> memory-store is a constructor; it is designed to return a new memory
> store each time it is evaluated.
>
> However, let me propose an equivalent change. The memory-store
> function accepts an optional atom argument, allowing one to write:
>
> (defonce my-atom (atom {}))
>
> (def app (wrap-session handler (memory-store my-atom)))
>
> Would that change meet your needs?
>
> - James
>