[web-devel] [yesod] using presistance in sub sites

Markus Barenhoff mb at niulabs.com
Fri Jul 1 18:27:37 CEST 2011

Hi there!

I'm a bit confused on how to use persistence in a sub site...

I've written this here, which fails to compile:

Is it possible at all to define persistence functionality on subsite
level and then use the masters runDB ?
Whats best practice here?

I've seen yesod-auth let implement the persistance related stuff over
a type class in the master ... But I'd like to keep that stuff with
the subsite...

Ideas, comments anyone?


More information about the web-devel mailing list