Skip to content

Submit PR to strong-remoting to add support for application/vnd.api+json #41

Open
@digitalsadhu

Description

@digitalsadhu

Should be a very simple change. Just need to add a case to switch statement that falls through to json.

See discussion here:
strongloop/loopback#445 (comment)

TODO:

  • Make sure components loopback/strong-remoting dependency up to v2.22.1
  • Remove explicit setting of Content-Type: application/vnd.api+json in various places in the component
  • Add README documentation that it is necessary to set Accept: application/vnd.api+json when using this component and that doing so will result in Content-Type: application/vnd.api+json being set on the response
  • Ensure tests pass
  • Manually test that this works

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions