Have user search endpoint return both inactive and active users by default
Currently, the only way to fetch a user by username is to use one of the search endpoints (there are two). However, this doesn't work well because you are only able to fetch active accounts unless you specify ?active=false
, which means that you have to make two API calls in order to fetch an account that could be active or inactive.
This could also be solved by implementing an endpoint to fetch users by username regardless of account active status, but that would be another issue, I think. Honestly, it would be better to have both.