I have 2 types:
type Location {
id: ID!
room: Int
title: String
}
type Populate {
id: ID!
locationID: ID!
location: Location
}
I need to populate the location field when I call the GraphQL api. Locations are stored in DynamoDB. I know that a resolver is necessary but I haven't been a exactly how to write it. Thanks for the help!