Log message #4200002

# At Username Text
# Aug 27th 2019, 16:18 ricksaccous that's not what's accessible in the Question entity itself is it
# Aug 27th 2019, 16:17 ricksaccous like i said that's join data
# Aug 27th 2019, 16:17 neon1024 Well, messy underlined / strikethrough :P
# Aug 27th 2019, 16:17 neon1024 The second image I linked, has it underlined
# Aug 27th 2019, 16:17 ricksaccous not in the actual Question entity
# Aug 27th 2019, 16:17 ricksaccous but that's join data
# Aug 27th 2019, 16:17 ricksaccous i see sort order is accessible in _joinData
# Aug 27th 2019, 16:17 graziel i use phpstorm and its ok in there
# Aug 27th 2019, 16:17 neon1024 I highlighted it :slightly_smiling_face:
# Aug 27th 2019, 16:16 ricksaccous @neon1024 what's accessible in Question?
# Aug 27th 2019, 16:16 neon1024 @graziel Are there choices? :O
# Aug 27th 2019, 16:16 neon1024 @graziel You don’t like the Xdebug `var_dump` theme?
# Aug 27th 2019, 16:16 alexdd55976 @admad to literaly see whats in it.. yeah.. but is it not possible to show it? this is very general quesion, i know
# Aug 27th 2019, 16:15 graziel ewww light theme
# Aug 27th 2019, 16:14 neon1024 I don’t *really* want to expand the association
# Aug 27th 2019, 16:14 neon1024 @ricksaccous I also can’t seem to add `FormsQuestions` to my `associated` array in `patchEntity` as it’s just a `through` table
# Aug 27th 2019, 16:14 admad @alexdd55976 them use json_encode() or var_dump()
# Aug 27th 2019, 16:13 slackebot2 <neon1024>
# Aug 27th 2019, 16:12 ricksaccous if you don't want to that's fine but i'm just curious
# Aug 27th 2019, 16:12 ricksaccous can you post your request data out of curiosity and the result after patchEntity?
# Aug 27th 2019, 16:11 neon1024 It feels like there is something tiny I’ve missed
# Aug 27th 2019, 16:11 ricksaccous so you wouldn't want the id there
# Aug 27th 2019, 16:11 ricksaccous yeah, that's true
# Aug 27th 2019, 16:11 ricksaccous oh
# Aug 27th 2019, 16:10 ricksaccous so it's not properly hydrating the entity even with that?
# Aug 27th 2019, 16:10 neon1024 Well as it’s a belongsToMany it’s `replace` strategy
# Aug 27th 2019, 16:10 neon1024 I tried that already and it didn’t change anything
# Aug 27th 2019, 16:10 ricksaccous otherwise it doesn't knwo how to smash the data together
# Aug 27th 2019, 16:10 ricksaccous yeah, it should prob have the id before patchEntity is hit
# Aug 27th 2019, 16:10 ricksaccous oh really
# Aug 27th 2019, 16:10 neon1024 @ricksaccous No no, the resulting associated entity property is not updated
# Aug 27th 2019, 16:10 ricksaccous i've had to do it before though
# Aug 27th 2019, 16:09 ricksaccous lol
# Aug 27th 2019, 16:09 ricksaccous you could always just set it dirty afterwards, but that's kind of a dirty solution
# Aug 27th 2019, 16:09 ricksaccous it's just not dirty
# Aug 27th 2019, 16:09 ricksaccous in patchEntity, actually you already said it's getting patched
# Aug 27th 2019, 16:09 neon1024 @ricksaccous Plus, the book states this exact scenario works
# Aug 27th 2019, 16:09 ricksaccous are you putting _joinData in associated
# Aug 27th 2019, 16:09 ricksaccous oh ok
# Aug 27th 2019, 16:08 neon1024 Because I have already built the entire front-end
# Aug 27th 2019, 16:07 ricksaccous @neon1024 why not just save directly on the middle table, as a has many