Transformed Data In Dispatcher Response
- Dominant language
- PHP
- Stars
- 9.4k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
| Q | A
| ----------------- | ---
| Bug? | no
| New Feature? | yes
| Framework | Laravel
| Framework version | 7.x.y
| Package version | 3.x.y
| PHP version | 7.x.y
#### Actual Behaviour
Tried using
`app('api.dispatcher')->raw()->get('/data')`
And getting response like this
```
{
"exception": null,
"headers": [],
"original": [
{
"id": 1,
"value_type_id": 1,
"sort": null,
```
#### Expected Behaviour
End point response in `/data` is using Transformer.
Expecting to receive a transformed data.
#### Steps to Reproduce
1) Create endpoint with response using transformer
2) Call endpoint using dispatcher with raw
Contributor guide
Assessment
This issue has not been assessed yet.