jsonapi-mapper icon indicating copy to clipboard operation
jsonapi-mapper copied to clipboard

JSON API-Compliant Serialization for your Node ORM

Results 10 jsonapi-mapper issues
Sort by recently updated
recently updated
newest added

Dear team, I would like to evaluate if it is possible to use this package in combination with `TypeORM` instead of `Bookshelf`. Or rather pass any `object` (or `object[]`) to...

Hi, I'm using bookshelfjs with ES6 classes, like: ```javascript class Test extends bookshelf.Model { get tableName() { return 'tests' } get hasTimestamps() { return true } get virtuals() { return...

These seem good: https://github.com/postlight/lux/blob/master/src/packages/jsonapi/index.js

This PR adds the ability to automatically serialize pivot/join table data returned by Bookshelf into a relationships' `meta` attribute for `belongsToMany` relations. The serializer already has a `relationshipMeta` option that...

The JSONAPI Spec is agnostic about pagination strategies: http://jsonapi.org/format/#fetching-pagination The default bookshelf plugin supports two strategies: https://github.com/tgriesser/bookshelf/wiki/Plugin:-Pagination The default uses `page` and `pageSize`, although `limit` and `offset` can also be...

It appears that I may have been mis-understanding/underestimating the value of `links` provided by the JSON API-spec. I'm using Ember on the front-end can use the `related` link of a...

enhancement

Taken from [#80](https://github.com/scoutforpets/jsonapi-mapper/issues/80#issuecomment-252035188) > We could use that `new Mapper.Bookshelf` options object as default behaviours to be passed by the user, and then they can overwrite a default behaviour by...

enhancement

When utilizing a `belongsToMany` relationship in Bookshelf, the `_pivot` fields are not being included in the response.

enhancement
help wanted

I've encountered an issue when the links for a json object are created. The code I'm generating forms a json object with a value of: ``` { "payload" : {...

enhancement
help wanted