This repository was archived by the owner on Jan 22, 2026. It is now read-only.
Relation Options and Polymorphic Associations
- Add support for polymorphic association in a resource
- Add options argument for findOne/findMany helpers
- FetchError passes original error or default message
hasOne and hasMany Relationship helpers may use a String argument for the relation name, as found in the relationship object of the JSON payload. Helpers may instead use an Object argument with properties for relation and type (type is different service) to use for fetching resource relations.