resolver() function currently provide express's response object and it should be removed since it will give the user the freedom to response as they wanted and it'll create the problem of response data is not matching with response schema.
Solution
remove response object from args
16 will solve the necessity of response object inside resolver function
Problem
resolver()
function currently provide express'sresponse
object and it should be removed since it will give the user the freedom to response as they wanted and it'll create the problem of response data is not matching with response schema.Solution
response
object from args16 will solve the necessity of
response
object inside resolver function