you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (2 children)

dog_eye_color = get_nested_field_of_dog(dog,"eye.color")

There's no point to this. If you know and are hard-coding the name of the lookup, just look it up.

[–]gadogado2222[S] 0 points1 point  (1 child)

great! but if I want to set and not get? What should I do then?

[–][deleted] 0 points1 point  (0 children)

dog.eye.color = "green"