Me and ballingt 9068 just pair
Me and @ballingt just pair programmed for a bit and updated the error message to look a bit more like this - which is hopefully more helpful in the future.
4 Replies
Ideally we could make an even better error message that indicates it's a return value, but this is at least a step up - indicating the type and content of the bad value.
I'm afraid that new error message means nothing to me either 😕
That's pretty fair.
The difference is that we printed the "bad" object name
QueryImpl
, but given that it's one of our objects (the return from .order() before .collect()) and not one of your objects, it's probably all nonsense.
We gotta do even better with error messages!Let's do the special case, "looks like you returned a query without collecting"