enhancing toJSON and toObject to pump out cached relations, optionally #374

Merged
merged 1 commit into from Feb 6, 2014

Conversation

Projects
None yet
2 participants
Contributor

mshick commented Feb 5, 2014

I was finding it a little difficult to deal with getting my cachedRelations out to my api.

Here's an enhancement to toJSON / toObject to copy the relations onto the data object that gets output.

1602 added a commit that referenced this pull request Feb 6, 2014

Merge pull request #374 from mshick/tojson
enhancing toJSON and toObject to pump out cached relations, optionally

@1602 1602 merged commit a991a08 into 1602:master Feb 6, 2014

1 check passed

default The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment