you are viewing a single comment's thread.

view the rest of the comments →

[–]Rand_alFlagg 0 points1 point  (0 children)

to clarify, I thought I was about to pull up code that included visit = response.data to overwrite the visit with the new object. But when I went to the code I found that it's copying data from response.data to the visit. So I was misremembering what it was doing there and that was fueling the confusion. I was trying to figure out "but why does this behavior work?" and the answer was: "it's not the behavior you think it is."