16 Jul 2018 |
mikeb | I don't believe so, hugsql is jdbc based which will only run on jvm. | 02:18:08 |
| scitesy joined the room. | 04:18:31 |
| nenadalm joined the room. | 05:35:40 |
nenadalm | I am using postgres as sql db. Sqlingvo https://github.com/r0man/sqlingvo is my library of choice as I often times need to create queries dynamically (based on filtering, sorting, pagination, ...).
If you prefer to write queries in SQL, you can just use some js library - like pg https://www.npmjs.com/package/pg. | 05:35:40 |
nenadalm | It also seems that there is ticket for hugsql to work in cljs (https://github.com/layerware/hugsql/issues/14) so if you like, you can add the support 🙂 | 05:38:28 |
yogthos | there doesn't appear to be a jdbc equivalent on Node, so connecting to each db is custom | 13:13:52 |
yogthos | there is a minimal HugSQL like library available https://github.com/macchiato-framework/macchiato-sql | 13:14:18 |
17 Jul 2018 |
| @nenadalm:matrix.org joined the room. | 04:47:04 |
18 Jul 2018 |
| @chaiapodi:matrix.org joined the room. | 01:42:44 |
21 Jul 2018 |
| @chaiapodi:matrix.org left the room. | 03:39:50 |
22 Jul 2018 |
| @chaiapodi:matrix.org joined the room. | 06:03:10 |
23 Jul 2018 |
| @chaiapodi:matrix.org left the room. | 01:02:50 |
8 Aug 2018 |
richiardiandrea | hello folks! I am looking at using the macchiato.util.response namespace for generating responses in my lambda functions... | 16:45:57 |
richiardiandrea | however, it would be great if the DSL -> response layer was a separate lib | 16:46:27 |
richiardiandrea | cause one could use macchiato-response and something like ring-spec only | 16:47:00 |
richiardiandrea | yogthos do you think it is worth the split? | 16:47:34 |
yogthos | richiardiandrea I'd be ok with splitting that out, and you should have permissions on the github org, let me know if you run into any problems | 16:57:59 |
yogthos | I can also add you to the clojars repo for publishing | 16:58:32 |
richiardiandrea | let me do that first, then once it's done I'll ping you 😉 | 16:58:52 |
yogthos | perfect | 16:59:24 |
richiardiandrea | I kind of abandoned lumo on lambda but I would still like to create libs that are self-host compatible | 16:59:26 |
richiardiandrea | yogthos how does macchiato-http sound? | 17:03:00 |
yogthos | that sounds good to me | 17:41:39 |
yogthos | for the artifact name in the project.clj it should be macchiato/http to keep consistent | 17:42:48 |
richiardiandrea | yep definitely | 17:45:42 |
richiardiandrea | yogthos I pushed to github, one weird thing is that the macchiato/http project looks like pre-existing on Clojars | 21:28:03 |
richiardiandrea | https://clojars.org/macchiato/http | 21:28:06 |
richiardiandrea | I am not using cuerdas at the moment there + I wanted to ask you if you use Travis as CI | 21:30:09 |
yogthos | oh I think I had that split originally, and ended up merging http into core | 21:32:02 |
yogthos | so it's fine to just bump the version up on that | 21:32:12 |