IHP 1.1 is out now!
Create a new thread +
Help needed with validateFieldIO
axelbdt
Hello everyone, I am looking for a little help with the usage of validateFieldIO, as I am not used to the IO Monad yet. My user creates a bill for one of his clients by selecting him in a form in the NewBill action. The user is presented wi…
Add Response
Code formatter config that is compatible with code gen?
axelbdt
Hello, Love hacking on IHP so far, but I am confused about the code formatting config I should use so it is consistent with formatted code, any recommendation? Alternatively, I tried a heavy handed formatting of all haskell files of the boi…
Add Response
Routes inspection
Fidel
It would be nice to have a way to inspect (and edit?) all routes. Perhaps also to design a set of routes and obtain the Actions for them... Is there something like that already, or a plan to have it? …
Add Response
Validation with monadic operations
Fidel
When using withCustomErrorMessageIO, it adds the custom error message to whatever error happens to be there... That is, if I do: ... |> validateField #name nonEmpty |> withCustomErrorMessageIO "Name is already taken&quot…
Add Response
Expo IHP Backend
I was just trying out a new IHP Backend project based on the expo template. When I check out the templated project and run npm install I'm getting this error: [nix-shell:~/pymodules/attics-mobile]$ npm install npm ERR! code ERESOLVE np…
Add Response
Anyone had any luck with Haskell SSH clients?
I want to access and manage webservers through SSH with a web interface through IHP, and preferably get the output to print on screen. Preferably also have a way of knowing if it was successful or exited with an error. Are there any decent …
Add Response
Dealing with really big db tables, any advice?
Lillo PRO
Any advice for dealing with very big tables in IHP? Product page here has gotten so dreadfully slow even when paginated and client-side loaded: https://dill.network/Products There is 2 million products in the DB, so big, but I guess it'…
Add Response
Is there a good way to do nested/threaded comments in IHP?
Lillo PRO
Has anyone done nested comments in IHP in a clean-ish way yet? I get the feeling that comment_id / parent_id inside the comments table is not a a good idea, but would be nice if I could just do that :) I'm a bit skeptical to nested sets…
Add Response
File uploads on IHP Cloud: Can't create folder
Lillo PRO
Hi! File uploads are failing for me and I am unsure of what the reason can be. I get this error from sentry: /tmp/ihp-upload-6de360a7d350dccc: createDirectory: does not exist (No such file or directory) This is the function that uploads an…
Add Response
Best Mac system to install IHP
nimmividya
I am planning to buy IHP and IHP Cloud. I am a Mac user. I tried to install IHP on my MacBook Air M1 with Mac OS Monetary. It did not work. What is the best Mac System to install IHP? Thanks. …
Add Response