A Sequel plugin for eager loading associations in JSON APIs
I have created a Sequel plugin that helps eager load associations when exposing objects to a JSON API. You can now enable consumers to choose which associations they want returned with the primary object, but without those pesky N+1 queries.
Post a comment