``` type Link { id: ID! createdAt: DateTime! ...
# orm-help
l
Copy code
type Link {
  id: ID!
  createdAt: DateTime!
  description: String!
  url: String!
  postedBy: User
  votes: [Vote!]!
}

type Image {
  id: ID!
  createdAt: DateTime!
  description: String!
  postedBy: User
  votes: [VoteImage!]!
}

type VoteImage {
  id: ID!
  image: Image!
  user: User!
}

type Vote {
  id: ID!
  link: Link!
  user: User!
}
got this
h
Your
Link
has a two way relation with
Vote
, and so do
Image
and
VoteImage
, but they are completed decoupled.
I guess a
Link
has many
Votes
, where each
Vote
has an
Image
?