Composite @id fields

Hopefully you guys add this feature. In the mean time, you can emulate this functionality like so:

type Foo {
  id: String! @id
  bars: [Bar!]!
}

type Bar {
  name_fooId: String! @id
  fooId: String!
  name: String!
}

Of course, another use case for @prehooks to validate this or do this automatically :slight_smile:

J

1 Like