Drop-in serializer support for Express/Connect Node apps.
The raw adapter is for when you aren't using an ORM framework. It assumes you are working with POJOs rather than model instances.
Given a POJO model, return the type from the options supplied.
a POJO model instance
Given a POJO model, return the id based on the idAttribute.
id of the supplied record
Fetch a simple attribute from the record.
Given a record, the relationship name, and the relationship config, return the data for a given record, which could be the ids, an id, the records, or a specific record.
the serialization strategy, either 'ids', 'id', 'records', or 'records'
the type of the related records
related data
, options
, relationshipConfig, options
, relationshipConfig, options
, relationshipConfig, options
, relationshipConfig, options