# |
Jun 27th 2017, 07:23 |
savant |
because it blows the stack |
# |
Jun 27th 2017, 07:23 |
savant |
throwing exceptions isnt very user friendly |
# |
Jun 27th 2017, 07:23 |
savant |
well we also take an `_ids` key |
# |
Jun 27th 2017, 07:23 |
sebollson |
will fork the repo |
# |
Jun 27th 2017, 07:23 |
sebollson |
okay |
# |
Jun 27th 2017, 07:23 |
savant |
and show examples for one piece of data or multiple |
# |
Jun 27th 2017, 07:23 |
sebollson |
:) |
# |
Jun 27th 2017, 07:23 |
sebollson |
then why not throw marshalling exception or something |
# |
Jun 27th 2017, 07:23 |
savant |
yep just write that |
# |
Jun 27th 2017, 07:22 |
sebollson |
array of arrays |
# |
Jun 27th 2017, 07:22 |
sebollson |
hasMany requires explicitly array |
# |
Jun 27th 2017, 07:22 |
sebollson |
IF |
# |
Jun 27th 2017, 07:22 |
sebollson |
the other way around |
# |
Jun 27th 2017, 07:22 |
sebollson |
or |
# |
Jun 27th 2017, 07:21 |
slackebot |
Action: savant goes to eat ice cream |
# |
Jun 27th 2017, 07:21 |
savant |
I’m not mad :slightly_smiling_face: |
# |
Jun 27th 2017, 07:21 |
sebollson |
:) |
# |
Jun 27th 2017, 07:21 |
sebollson |
hey dont be mad |
# |
Jun 27th 2017, 07:21 |
savant |
great! much appreciated :slightly_smiling_face: |
# |
Jun 27th 2017, 07:21 |
sebollson |
i will do that |
# |
Jun 27th 2017, 07:21 |
sebollson |
ye |
# |
Jun 27th 2017, 07:21 |
savant |
so that the next person can see a clear example of the thing you had trouble with |
# |
Jun 27th 2017, 07:21 |
sebollson |
will do that |
# |
Jun 27th 2017, 07:21 |
sebollson |
ok |
# |
Jun 27th 2017, 07:21 |
sebollson |
sayiong that you have to always have an array |
# |
Jun 27th 2017, 07:21 |
savant |
you can submit a change to the docs |
# |
Jun 27th 2017, 07:21 |
savant |
there is a helpful “pen” button on the sidebar |
# |
Jun 27th 2017, 07:20 |
savant |
well if you dont think its well documented |
# |
Jun 27th 2017, 07:20 |
sebollson |
maybe some warning would be helpfull |
# |
Jun 27th 2017, 07:20 |
savant |
“naturally” |
# |
Jun 27th 2017, 07:20 |
sebollson |
but |
# |
Jun 27th 2017, 07:20 |
sebollson |
true |
# |
Jun 27th 2017, 07:20 |
sebollson |
ok |
# |
Jun 27th 2017, 07:20 |
sebollson |
yes |
# |
Jun 27th 2017, 07:20 |
sebollson |
thus i have naturally ommited the array |
# |
Jun 27th 2017, 07:20 |
savant |
its not hasOne |
# |
Jun 27th 2017, 07:20 |
savant |
its still hasMany |
# |
Jun 27th 2017, 07:20 |
sebollson |
now i tried to save only 1 entity |
# |
Jun 27th 2017, 07:20 |
sebollson |
it is obvious, as there are many comments saved |
# |
Jun 27th 2017, 07:20 |
sebollson |
but |
# |
Jun 27th 2017, 07:20 |
savant |
;) |