While attempting to debug a query, I looked at the controller:placeholder debug log line and noticed that it doesn't actually show the response from placeholder 🤔
What's being rendered there instead is $res.data, which is the modified state of the response after the placeholder results have been merged with it.
I'm not sure of the history of this, which is several years old, but I would prefer to show the verbatim response from the microservice response in the logs so I can inspect the response data before it is merged.
Makes sense, the raw Placeholder result is more "unfamiliar" (looks like the API basically converts it to look like a result from Elasticsearch), but it's more truthful.
While attempting to debug a query, I looked at the
controller:placeholder
debug log line and noticed that it doesn't actually show the response from placeholder 🤔What's being rendered there instead is
$res.data
, which is the modified state of the response after the placeholder results have been merged with it.I'm not sure of the history of this, which is several years old, but I would prefer to show the verbatim response from the microservice response in the logs so I can inspect the response data before it is merged.
cc/ @orangejulius thoughts?