How to return a single object for an array type

This isn’t possible. I think there is a Github issue for this. But it is recommended that you do it in your business logic.