fragment Address on addresses {
  street
  state
  zip
}

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

query UsersQuery {
  users {
    ...User
  }
}

Before

After

TS migration

 

 

All hands call

By Aleksandra Sikora

All hands call

  • 1,382