8000 Adding custom formatter to app.php Lumen not working · Issue #1729 · dingo/api · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Adding custom formatter to app.php Lumen not working #1729

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
shr3jn opened this issue May 24, 2020 · 0 comments
Open

Adding custom formatter to app.php Lumen not working #1729

shr3jn opened this issue May 24, 2020 · 0 comments

Comments

@shr3jn
Copy link
shr3jn commented May 24, 2020

Registering a custom formatter through bootstrap/app.php is not working for Lumen. Is there anything else that needs to be added besides:

Dingo\Api\Http\Response::addFormatter('json', new Dingo\Api\Http\Response\Format\Jsonp);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0