Closed nscavell closed 10 years ago
I agree we should receive a List back, and I agree it's more coherent, as we do the same thing with maps.
I'm afraid we can be breaking some code here, but I cannot find a good reason to keep things as they are.
And thanks for your pull request!
So I noticed that we convert from List to JsonArray when sending, but back on the receiving side we do not. Surely if I send a List over the EventBus I should get a List back ?
However it should be noted this could possibly break existing code if they do indeed expect a JsonArray on the receiving side.
This is more in line with how we treat JsonObject -> Map as well.