`JSONAPIResourceStore` primary resource access on `Document`
Pre-release
Pre-release
See the new example test case for details.
In short, document.storedPrimaryResource() for single resource documents and document.storedPrimaryResources() for many resource documents will access the document's primary resource(s) as StoredResources. This means it is faster and more convenient to treat the response document as a coherent unit of primary resources with their related includes directly accessible.