Alexander Ioffe
Alexander Ioffe
I think the latest versions resolve this issue. I stopped using ClassIds for the most part. Could you give it another try?
That is very odd. What line does `AppUserCalc.scala:18:9` refer to?
I don't allow raw-string injection, that's point. The second I allow raw-string injection you can potentially get SQL-injection vunerabilities. Do you need completely dynamic strings?
Interesting! I didn't know doobie was fine with strings not prefixed with `sql"..."`. I was thinking about introducing a dynamic-string splicing API but an explicit one e.g. `sql("....dynamic(...)...")`.
There a a few ways to get rid of the boilerplate here. The first way is to use contextual serialization and use `Param.contextual`. If you want even less boilerplate you...
Good idea. I'll try to add it in the next terpal version.
Makes sense to have this configureable on a per-query basis. Let me figure out where to add it. (P.S. For faster replies, ping me on the Terpal channel on the...
Have a look at the latest release where you can pass a `JdbcExecutionOptions` to the `runOn` functions. This has a `sessionTimeout`, `fetchSize`, and `queryTimeout`. It also has custom prepare-lambdas that...
The closest thing that Terpal has to a session is a transaction (i.e. that you do via `controller.transaction`). When you do `ControllerQuery.runOn(controller)` it grabs a connection from the data-sources, uses...
(+1) Problem still exists in 3.1.1 today