Closed greg-1-anderson closed 6 years ago
Note that while we do not have this feature available yet, if a command returns UnstructuredData or UnstructuredListData, then the field names are not converted via ucfirst
.
I'm going to call UnstructuredData
as a "close enough" implementation for this. If anyone wants to submit a PR to make it even better, that would be welcome.
The table formatter always wants to try to make raw field values look "human readable" by calling
ucfirst()
on each word in the raw value whenever there is no mapping from raw to display value available. Sometimes, though, it is inappropriate to alter the raw values in this way. There should be metadata available in FormatterOptions to disable this automatic transformation.