Lazily evaluate relationship objects only when included#31
Lazily evaluate relationship objects only when included#31fotinakis merged 3 commits intofotinakis:masterfrom
Conversation
|
Passing an enumerable Sequel dataset to JSONAPI::Serializers: 1400ms, 1084 queries Not bad for a day's work! |
|
@fotinakis Any thoughts on this? There are a few different ways to implement the changes and I'm happy to make as many attempts as it takes to make you happy. 😄 Let me know. Thank you. |
|
Hey @mwpastore, this looks pretty nice. I'm going to test this against an application I have now and let you know. |
|
LGTM 👍 Thanks for doing this, things look like they are backwards-compatible. I will release a new gem after merging. |
Lazily evaluate relationship objects only when included
|
I've pushed v0.3.1 which includes this change. |
|
👍 Thanks Mike! |
My clumsy attempt at a fix for #29