Skip to content
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

The JSON API media type should only work with a JSON API handler #23712

Commits on Feb 17, 2016

  1. The JSON API media type should only work wih a JSON API handler

    Since the media type 'application/vnd.api+json' is a spec,
    it is inappropriate to handle it with the JSON renderer.
    
    This PR removes support for a JSON API media type.
    
    I would recommend the media type be registered on its own as `jsonapi`
    when a jsonapi Renderer and deserializer (Http::Parameters::DEFAULT_PARSERS) are added.
    
    Is related to work in rails#21496
    bf4 committed Feb 17, 2016
    Configuration menu
    Copy the full SHA
    c4d90b7 View commit details
    Browse the repository at this point in the history