Using Serializer Obscures Links and Pagination Data

Created on 7 March 2024, 9 months ago
Updated 21 July 2024, 4 months ago

Problem/Motivation

Our current serializer option appears to drop anything other than the data property. This means that we lose access to things like pagination metadata.

Steps to reproduce

* Create a JsonApiClient instance that uses Jsona as a serializer.
* Make a request to a data set that would typically be paginated (or force it with something like `?page[limit]=5`
* Notice that links.pagination is not returned.

Proposed resolution

It should be possible today to use the `rawResponse` option to retrieve this data when using a serializer, but it seems like it would be much friendlier to also provide this metadata when deserializing.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States brianperry

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024