Peter Kjeld Andersen

Results 22 comments of Peter Kjeld Andersen

@gdeest Ahh that's correct. Whoops! I'll give the instance you've pushed a shot shortly and protect a `UVerb` route with the `Auth` combinator.

@gdeest Thanks for that :) I think there might still be an issue. I've updated [my Gist](https://gist.github.com/and-pete/7ff284a02a82dc4801aa2f38dd15f5e1) to demonstrate. (**edit:** for reference, am going off `haskell-servant/servant` [commit 2d085ec2591cb0fd4c61dfaae3d84cab25837c0c](https://github.com/haskell-servant/servant/commit/2d085ec2591cb0fd4c61dfaae3d84cab25837c0c)) You can...

> @and-pete The problem is likely that throwing a 401 servant error is fundamentally different than returning a 401 response (without any error being explicitly raised). `throwError` short circuits the...

> servant-auth-server handles the lifecycle of the JWT through the cookie's expiry date. Hmm, I guess if you're talking about the default settings of not having an expiry set at...

Would it be possible to have a setting in the VSCode Haskell extension to select which other VSCode extension is responsible for the Haskell syntax highlighting/etc. (...in the same way...

> You may be interested in the extended template by @and-pete: https://github.com/and-pete/purescript-halogen-template-extended @ocramz You can also see the extended template previewed live via [this Gist on TryPureScript](https://try.purescript.org/?gist=c1536c9a3e0aa903de93ec21ca53bc04) to get a...

I think you must have posted this 5 minutes after I started looking at PureScript websocket libraries. :) I can confirm for you the `purescript-web/purescript-web-socket` package works with the current...

I think you could both answer those type of questions while avoiding duplication of what the book covers on transformers and logging by having a concrete example of its use...

You could go for a minimalist Final Tagless / mtl example that demonstrates the composition of functions that compsoe effectful functions that return `Effect (Either e result)`, where the reader...

Yeah, I tend to agree with you now too about those types. I probably should have kept the example more closely replicate what the question on Slack was. The question...