Daan Rijks
Daan Rijks
**Is your feature request related to a problem? Please describe.** I sometimes forget I already stopped the language server, and run the "Restart Haskell LSP server" command instead of "Start...
It looks like using Stack's built-in integration with Nix causes an ABI mismatch, not in terms of any versions but only in the hashes for Cabal. Maybe because Cabal then...
While reading the docs I was a bit surprised that `ServerT api` isn't a monad transformer, while I was assuming that it was due to the name. I saw #340,...
Request Body objects have a `required` property (defaulting to `false`) that indicates whether a request body is allowed to be empty. As far as I can tell, the value of...
Specifically, this line: https://github.com/haskell-servant/servant/blob/2323906080e50fc2774cd1b43bc59548a90152ed/servant/src/Servant/API/WithNamedContext.hs#L20 I haven't been able to find any information on `WithNamedContext` or `NamedContext` in [the tutorial](https://docs.servant.dev/en/stable/tutorial/index.html), at least using the search bar.
I happened to come across a solution for this while working through the code pertaining to contexts (technically in Philipp's fork, but it's the same here). The reason that ```hs...
I'm writing a query using `arrayAgg`, which can return a `NULL`/`Nothing` value, so I'm combining it with `coalesceDefault` to just get an empty array in that case. E.g.: ```hs query...
There's functions like `ilike` where [the docs say](https://hackage.haskell.org/package/esqueleto-3.5.11.1/docs/Database-Esqueleto-Experimental.html#v:ilike): > Supported by PostgreSQL only. Or others where both MySQL and Postgres support them, but no other RDBMSes. Then there's also modules...
Sometimes I want to insert entire entities into a table, from a `SELECT` query, including the primary key.[^1] As far as I can tell, this isn't possible with the current...
Suppose this toy schema: ```hs share [mkPersist sqlSettings] [persistLowerCase| User Post author (UserId) |] ``` And this query code: ```hs import Database.Esqueleto.Experimental userPosts :: SqlExpr (Value UserId) -> SqlQuery (SqlExpr...