GraphQL DGS- Kotlin, Modify the parent resultSet, based on Child dataloader results
class UserEntity(val id: UUID, val name: String, val email: String){
val occupation: String? =null
}
class AddressEntity(val id:UUID){
val line1: String,
val line2 : String,
val city: City,
val state: State,
val zipcode: ZipCode
@ManyToOne
@JoinColumn(name = "user_id", referencedColumnName = "id")
var user: UserEntity
}
class UserResolver(private val userService: UserService) {
@DgsQuery(field = DgsConstants.QUERY.GetUsers)
fun getUsersByLocation(
dfe:...