ChanServ changed the topic of #crystal-lang to: The Crystal programming language | https://crystal-lang.org | Fund Crystal's development: https://crystal-lang.org/sponsors | GH: https://github.com/crystal-lang/crystal | Docs: https://crystal-lang.org/docs | Gitter: https://gitter.im/crystal-lang/crystal
_whitelogger has joined #crystal-lang
brw has joined #crystal-lang
f1refly has quit [Ping timeout: 250 seconds]
<FromGitter> <ryanprior:matrix.org> I've been using DB::Serializable but I still had to write a bunch of my own boilerplate SQL, wish it went a little further
<FromGitter> <ryanprior:matrix.org> Here's an example of db persistence code I wrote recently: https://github.com/ryanprior/lutrine-dice/blob/main/server/src/models/memo.cr
f1refly has joined #crystal-lang
<FromGitter> <ryanprior:matrix.org> With JSON::Serializable I can write the model to JSON and read it back from JSON, no problem. But with DB::Serializable I can only load records from DB, have to write my own boilerplate to save them.
<FromGitter> <ryanprior:matrix.org> Any tips on abstractions I should be using instead would be welcome =D
<FromGitter> <Blacksmoke16> could checkout that gist i provided earlier. Has been working fairly well, but could ofc be improved with some more effort
<FromGitter> <Blacksmoke16> personally not a big fan of the AR pattern, so opted for a dedicated type to handle saving that uses overloading to know which SQL statement to execute
Chillfox has joined #crystal-lang
ur5us has quit [Ping timeout: 240 seconds]
fifr has quit [Quit: ZNC 1.8.2 - https://znc.in]
fifr has joined #crystal-lang
Chillfox has quit [Ping timeout: 250 seconds]
Elouin has joined #crystal-lang
ur5us has joined #crystal-lang
Chillfox has joined #crystal-lang
<FromGitter> <vlazar> Can this go into Crystal 1.3.0 please pleeease? :) https://github.com/crystal-lang/crystal/pull/11175
greenbigfrog has quit [Ping timeout: 250 seconds]
ur5us has quit [Ping timeout: 240 seconds]
greenbigfrog has joined #crystal-lang
Chillfox has quit [Ping timeout: 260 seconds]
Chillfox has joined #crystal-lang
Chillfox has quit [Ping timeout: 260 seconds]
Chillfox has joined #crystal-lang
hightower2 has quit [Ping timeout: 256 seconds]
Chillfox has quit [Ping timeout: 260 seconds]
Chillfox has joined #crystal-lang
Chillfox has quit [Ping timeout: 260 seconds]
Chillfox has joined #crystal-lang
hightower2 has joined #crystal-lang
notzmv has quit [Ping timeout: 260 seconds]
Chillfox has quit [Ping timeout: 260 seconds]
<FromGitter> <HertzDevil> have we decided that the scoop package is good enough for 1.3.0
<FromGitter> <HertzDevil> or do we have other means of windows distribution
<FromGitter> <HertzDevil> also what do we still need to promote windows to tier 2?
notzmv has joined #crystal-lang
Guest2803 has quit [Quit: WeeChat 3.3]
lanodan has joined #crystal-lang
hightower2 has quit [Ping timeout: 256 seconds]
SamantazFox_ has quit [Ping timeout: 260 seconds]
avane has quit [Ping timeout: 245 seconds]
<FromGitter> <oprypin:matrix.org> @HertzDevil: ⏎ ⏎ > also what do we still need to promote windows to tier 2? ⏎ ⏎ only one fiber can run at a time still, that's a huge deal [https://gitter.im/crystal-lang/crystal?at=61bb812cd40eb146b0d66899]
ur5us has joined #crystal-lang
ur5us has quit [Ping timeout: 268 seconds]
hightower2 has joined #crystal-lang
avane has joined #crystal-lang
ur5us has joined #crystal-lang
notzmv has quit [Ping timeout: 252 seconds]
notzmv has joined #crystal-lang
ur5us has quit [Ping timeout: 240 seconds]
hightower2 has quit [Ping timeout: 268 seconds]