fragment Address on addresses {
  street
  state
  zip
}

fragment User on users {
  id
  name
  address {
    ...Address
  }
}

query UsersQuery {
  users {
    ...User
  }
}

Before

After

TS migration