Activity Return values through channel

I have DB call activities, which return values in golang channel. Temporal documentation advice not to return channels from activities. My current workaround is to aggregate values to the array and return this array. I am not sure about workflow.Channel usage with activities.

I was hoping that I could return values with workflow.Channel (or any other channel form), converting/forwarding native channel to workflow.Channel.
New to the community, any edit or change requests are welcome! Thanks in advance!

Activity invocation is essentially a remote call. So the arguments and results have to be serialized. Channels are not serializable. So your workaround of passing values in an array is a good one.