Open johannesschobel opened 5 years ago
I think I see your point with the idea of passing in a single type of object
or object[]
and do the ORM to JSON transformation in another. It can be interesting to pursue this option.
The thing is that we have a lot of options available and a lot of functionality. You can go ahead and send a PR our way to change how it's done. If the tests pass and the code looks good, it will surely get merged!
Dear team,
I would like to evaluate if it is possible to use this package in combination with
TypeORM
instead ofBookshelf
. Or rather pass anyobject
(orobject[]
) to this package in order to serialize the data accoring to the JSON:API styleguide..What do you think? Do we need a
TypeORM
integration or would it be better to get the data in a separate package and only pass theobject
orobject[]
to the package here?All the best