mathematic-inc / ts-japi

A highly-modular (typescript-friendly)-framework agnostic library for serializing data to the JSON:API specification
Apache License 2.0
202 stars 15 forks source link

feat!: implement support for the `include` spec #53

Closed egmacke closed 1 year ago

egmacke commented 1 year ago

Solves issue #52

jrandolf commented 1 year ago

Is this a breaking change?

egmacke commented 1 year ago

Is this a breaking change?

@jun-sheaf I've made every effort to maintain backwards compatibility, the new include field supersedes the depth field, but if depth is provided, (and include is not) then the behaviour is the same as before.