Skip to content
Paul Mackay edited this page Feb 10, 2018 · 1 revision

Hints and tips

JSONAPISource

JSONAPISource requires the response to have a Content-Type of application/vnd.api+json. It will fail to create a document if application/json is returned. If using active_model_serializers on Rails, see this issue for more info on configuring the right Content-Type.

Coordinators

Both a request and a sync strategy are required for a query on a local store to be fulfilled by a remote query to a JSONAPIStore.

Clone this wiki locally