Open sbose78 opened 7 years ago
+1
We need to refactor List Users. But there is another issue about this. So, this should be a part of that refactoring ;)
But what does the List Users have to do with this per say? The errors are saying; an internal error happened, but the object that was received is Errors:[pointer to error] and not an app.UserArray as expected. This is coming from the Goa generated test code. The fix here must be to improve the String()/Error() method of the JSONError class, not the List User function.
When I run my tests for #1007 the following error doesn't say anything meaningful-
this comes from
https://github.com/almighty/almighty-core/blob/master/controller/users.go#L128
We need to improve this..