Open cgag opened 10 years ago
Correct, there's currently no 0.7 support for Spock-auth. If you like to build this, it's probably a good Idea to abstract over SpockT with a typeclass. Then you could easily implement the proper Spock-auth methods for both interfaces. If you have any questions feel free to ask :-)
I'm just getting started with Spock, I'll probably try to get this working myself, but I thought I should log an issue and see if this is already in progresss or if you already know what needs to be done.
The differences I see so far are that you can't just import Web.Spock, since it has Safe and Simple alternatives. Does this mean Spock.Auth will needs to essentially be duplicated for each of them? It also looks like defRoute has become hookRoute and paths have a type vs being Text.