ethanresnick / json-api

Turn your node app into a JSON API server (http://jsonapi.org/)
GNU Lesser General Public License v3.0
268 stars 41 forks source link

Removing a relationship should remove included resources #104

Open ethanresnick opened 8 years ago

ethanresnick commented 8 years ago

On a request like /articles?include=author, if articles's beforeRender removes the author relationship, the removed authors shouldn't show up in "included" (unless they get there from another resource's relationship that didn't remove them).