my query handler looks like this:
@QueryHandler
public List<SomeInterface<AnotherInterface>> getData(SomeQuery query)
how should i invoke query mehtod using Querygateway?
i have tried this aproach:
queryGateway.query(new SomeQuery(), Collections.emptyList<SomeNestedType>().class)
but i get exception: no handler found with response type [InstanceResponseType{class java.util.Collections$EmptyList}]