05:53
_whitelogger has joined #amber
11:24
<
FromGitter >
<VanyaNeytrino> why this error occurs? ERROR: PG::ResultSet#read returned a Int32. A (Int64 | Nil) was expected. (Exception)
11:25
<
FromGitter >
<VanyaNeytrino> field in my model: field admin_id : Int32
12:58
<
FromGitter >
<Blacksmoke16> is that also your PK?
13:27
<
FromGitter >
<VanyaNeytrino> Yes. Mac OS X
13:31
<
FromGitter >
<Blacksmoke16> using Granite?
13:32
<
FromGitter >
<Blacksmoke16> granite assumes your PK is Int64, so if `admin_id` is your PK it should be `primary admin_id : Int32`
13:37
<
FromGitter >
<VanyaNeytrino> Yes, I’m using granite) Thanks
14:26
<
FromGitter >
<Blacksmoke16> that fix it? np
15:29
_whitelogger has joined #amber
18:00
<
FromGitter >
<Blacksmoke16> yea, can make querying like building with legos
18:00
<
FromGitter >
<Blacksmoke16> just new up the filters you need
18:00
<
FromGitter >
<Blacksmoke16> then can also test/document each filter
18:01
<
FromGitter >
<VanyaNeytrino> @Blacksmoke16 helped me replace INT to BIGINT in the migration
18:06
<
FromGitter >
<Blacksmoke16> still some work to do on it, but see how it turns out
18:11
<
FromGitter >
<VanyaNeytrino> I have a question: how to make all posts public? PUBLIC_PATHS = ["/posts/: id"]?? What is the syntax?
18:21
<
FromGitter >
<Blacksmoke16> hmm im not sure, are out of my realm of familiarity
18:32
<
FromGitter >
<VanyaNeytrino> this Authenticate class which creates a default generator Amber auth
22:30
<
FromGitter >
<eliasjpr> ❤️
22:31
<
FromGitter >
<eliasjpr> Feel that we should get together to discuss roadmap. I have been hit with at deadline at work reason why I am not more active on here
23:17
<
FromGitter >
<Blacksmoke16> @eliasjpr yea, basic turns querying into legos. Build blocks you need that can be tested, documented, and reused. Then just plop in the ones you need
23:39
<
FromGitter >
<Blacksmoke16> ideally planning on making it so it doesnt matter what orm you use. long as that orm supports a few things