type RelatedMany @model(subscriptions: { level: off }) @auth(rules: [{ allow: groups, groupsField: "groups" }]) {
  id: String! @primaryKey
  content: String
  groups: [String]
  primaryId: String
  primary: Primary @belongsTo(references: ["primaryId"])
}

type RelatedOne @model(subscriptions: { level: off }) @auth(rules: [{ allow: groups, groupsField: "groups" }]) {
  id: String! @primaryKey
  content: String
  groups: [String]
  primaryId: String
  primary: Primary @belongsTo(references: ["primaryId"])
}
