The response object for the "/hello" route will only contain the entry for the 200 response. If instead the response object was merged together, it'd be useful for adding default responses to a group. This would be especially useful for the "default" response which is really handy for handling errors.
What is the feature you are proposing to solve the problem?
Merge together the group guard response with the route defined response.
What is the problem this feature would solve?
Currently, values set in a group guard over overwritten if also defined in a route. For example:
The response object for the "/hello" route will only contain the entry for the 200 response. If instead the response object was merged together, it'd be useful for adding default responses to a group. This would be especially useful for the "default" response which is really handy for handling errors.
What is the feature you are proposing to solve the problem?
Merge together the group guard response with the route defined response.
What alternatives have you considered?
No response