liberator

adam 2020-06-15T01:23:58.012500Z

I think I understand Liberator more now. It's great for data display, but it's a hassle to try fitting everything inside its resource definition

ordnungswidrig 2020-06-15T07:28:52.013900Z

@somedude314 which middleware do you use for session management? With ring.middleware.session you’d need to nil the session in the ring response. You’d need to implement :handle-moved-temporarily for this and use ring-response to gain control over the ring response (fn [ctx] (ring-response {:session nill} "Document has moved")). I did not test this but ring-response is the key here. I allows to combine / merge the given response over what liberate creates for the value representation.

adam 2020-06-15T13:48:02.014200Z

Got it, thanks

ordnungswidrig 2020-06-15T15:39:54.014500Z

you’re welcome