-
Notifications
You must be signed in to change notification settings - Fork 1
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
[SPIKE] Create Content Negotiation Plug that *Any* Phoenix App can use! #1
Comments
Didn't expect this name to be available on Hex.pm: https://hex.pm/packages/content Going to use it. |
Shipped: https://hex.pm/packages/content Working on docs now. 📝 |
I have used the It works exactly how I imagined. ✅ |
|
We have show that content negotiation is fairly straightforward in a Phoenix App in our tutorial: https://github.com/dwyl/phoenix-content-negotiation-tutorial
but our conclusion is that it's quite cumbersome.
We need a simplified way of doing content negotiation in our App(s)
whereby we only add one line to the
router.ex
and one line to each controller.I think it's possible, but I don't know for sure. 💭
I would prefer to avoid including Phoenix as a Dependency ... because of maintenance and RAM.
So this issue is a "SPIKE" to:
The text was updated successfully, but these errors were encountered: