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

Allow the relationships to lazy load meta_data.

Open baash05 opened this issue 7 years ago • 2 comments

I'd love to be able to selectively run logic in the meta only if the relationship is included. So I could avoid calling the Posts.count method if posts weren't included. It would also allow me to use Posts.size and perhaps take advantage of eager loading.

baash05 avatar Apr 28 '18 15:04 baash05

Thanks for your feedback – I do not have time to add new features at the moment but I'll keep this issue open in case someone else wants to tackle it in the mean time.

beauby avatar Jun 13 '18 14:06 beauby

Ref #101.

beauby avatar Apr 05 '19 16:04 beauby