Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

Instruction

Customize the Associated Model Property Name

The Person property in the retrieved movie data doesn’t convey anything about the relationship of a person to a movie:

[
  {
    "id": 1,
    "title": "The Iron Giant",
    "releaseYear": 1999,
    "directorPersonId": 1,
    "Person": {
      "id": 1,
      "firstName": "Brad",
      "lastName": "Bird"
    }
  },
  ...
]

This makes it difficult to unders...