00:15:43  * piscisaureusquit (Quit: ~ Trillian Astra - www.trillian.im ~)
01:55:35  * rfengquit (Quit: rfeng)
03:06:32  * rfengjoined
03:37:26  * rfengquit (Quit: rfeng)
05:53:15  * rfengjoined
05:53:16  * rfengquit (Remote host closed the connection)
05:53:34  * rfengjoined
07:02:35  * fabienfjoined
08:41:24  * rfengquit (Quit: rfeng)
14:53:12  * rfengjoined
14:56:02  * piscisaureusjoined
15:00:16  * spl_joined
15:03:36  <spl_>hi there, I just started testing loopback today and I have a newbie question. is someone willing to help me?
15:29:49  * spl_quit (Quit: leaving)
15:42:06  * vlcnjoined
15:46:58  * rmgjoined
16:10:59  * spl_joined
16:26:15  * alanpjoined
16:26:36  <alanp>In loopback-datasource-juggler, is there a clean way to allow null ID for a belongsTo?
16:26:44  <alanp>It auto-sets it to 0 if it comes back null.
16:28:06  <rfeng>FYI: The best way to get answers is posting to https://groups.google.com/forum/#!forum/loopbackjs
16:28:31  <rfeng>We really want to share the knowledges in the forum
16:29:13  <rfeng>@alanp What is the id type for your model?
16:29:18  <alanp>integer
16:29:34  <alanp>i have some patches for the rest connector that I'll do a PR for in a bit
16:29:46  <alanp>maybe in a day or two when i finish up
16:29:57  <rfeng>ok, we’re coercing it to 0 based on the data type
16:30:05  <rfeng>@alanp thanks!
16:30:22  <alanp>is there a way to not coerce it? perhaps allow null or something?
16:30:29  <alanp>i got around it by doing that in beforeSave
16:32:11  <rfeng>null is an interesting beast
16:32:29  <rfeng>in the RDBMS, null comparision will always return false
16:33:06  <rfeng>so in general it is not a good idea to rely on null for matching
16:33:09  * spl_quit (Quit: leaving)
16:33:22  <alanp>yeah
16:33:40  <alanp>only issue is the DB throws an exception when i try to save 0
16:34:22  <alanp>any interest in supporting multiple hooks?
17:02:45  * rmgquit (Remote host closed the connection)
17:03:19  * rmgjoined
17:07:48  * rmgquit (Ping timeout: 250 seconds)
17:10:10  * piscisaureus_joined
17:13:11  * piscisaureusquit (Ping timeout: 264 seconds)
17:49:36  * piscisaureus_changed nick to piscisaureus
18:53:22  * piscisaureusquit (Ping timeout: 264 seconds)
19:07:02  * rfengquit (Quit: rfeng)
19:48:30  * rfengjoined
21:05:42  * rmgjoined
21:12:34  * rmgquit (Ping timeout: 264 seconds)
21:25:24  * rfengquit (Quit: rfeng)
22:04:10  * benatkinjoined
22:35:53  * piscisaureusjoined
22:39:26  * fabienfquit (Quit: fabienf)
22:41:54  * rfengjoined
22:46:42  * piscisaureusquit (Read error: Connection reset by peer)
22:48:33  * piscisaureusjoined
23:50:37  * piscisaureus_joined
23:53:44  * piscisaureusquit (Ping timeout: 250 seconds)