Can u help out in creating a mutation resolver for this schema

prisma

#1

type Estate {
name: String!
id: ID!
realtor: Realtor
description: String!
breadth: Int!
hasElectricity: Boolean!
hasWater: Boolean!
images: [Image]
length: Int!
locality: Locality
latitude: Float
longitude: Float
mainImageUrl: String!
plots: Int!
views: Int
}

type Mutation {
createEstate(
name: String!
realtorId: String
description: String
breadth: Int
hasWater: Boolean
hasElectricity: Boolean
imageId: [String]
length: Int
localityId: String
latitude: Int
longitude: Int
mainImageUrl: String
plots: Int
views: Int
): Estate!
}

createEstate(parent, {name, realtorId, description, breadth, hasWater, hasElectricity, imageId, length, localityId, latitude, longitude, mainImageUrl, plots, views}, context) {
return context.prisma.createEstate({
name,
realtor: {
connect: {
id: realtorId,
}
},
description,
breadth,
hasWater,
hasElectricity,
images: {
connect: {
id: imageId,
}
},
length,
locality: {
connect: {
id: localityId
}
},
latitude,
longitude,
mainImageUrl,
plots,
views,
})
}
};


#2

How can i connect multiple images to the estate.