Skip to content

Commit d5d999f

Browse files
committed
Add N plus one operation solution section to README
Introduced a new section in the README to document for introduction of Grape::Entity::Preloader
1 parent b483791 commit d5d999f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
- [Entity Organization](#entity-organization)
3535
- [Caveats](#caveats)
3636
- [Installation](#installation)
37+
- [N plus one operation solution](#n-plus-one-operation-solution)
3738
- [Testing with Entities](#testing-with-entities)
3839
- [Project Resources](#project-resources)
3940
- [Contributing](#contributing)
@@ -688,6 +689,10 @@ Or install it yourself as:
688689

689690
$ gem install grape-entity
690691

692+
## N plus one operation solution
693+
694+
[Grape::Entity::Preloader](https://github.com/OuYangJinTing/grape-entity-preloader) allows preload associations and callbacks for avoiding N+1 operations in Grape::Entity.
695+
691696
## Testing with Entities
692697

693698
Test API request/response as usual.

0 commit comments

Comments
 (0)