Skip to content

Commit

Permalink
Merge pull request #181 from graphql-java/add-dataloader-link
Browse files Browse the repository at this point in the history
Add link to dataloader repo
  • Loading branch information
dondonz authored Dec 12, 2024
2 parents 39d2ca5 + aa4c88a commit bf53653
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion documentation/batching.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: How to avoid the dreaded N+1 calls for data and make your graphql s
If you are using `graphql`, you are likely to making queries on a graph of data (no surprises there). However, it's easy
to implement inefficient code with naive loading of a graph of data.

Using `java-dataloader` will help you to make this a more efficient process by both caching and batching requests for that graph of data items. If `dataloader`
Using [java-dataloader](https://github.com/graphql-java/java-dataloader) will help you to make this a more efficient process by both caching and batching requests for that graph of data items. If `dataloader`
has seen a data item before, it will have cached the value and will return it without having to ask for it again.

Imagine we have the StarWars query outlined below. It asks us to find a hero, and their friend's names, and their friend's friend's
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-v21/batching.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: How to avoid the dreaded N+1 calls for data and make your graphql s
If you are using `graphql`, you are likely to making queries on a graph of data (no surprises there). However, it's easy
to implement inefficient code with naive loading of a graph of data.

Using `java-dataloader` will help you to make this a more efficient process by both caching and batching requests for that graph of data items. If `dataloader`
Using [java-dataloader](https://github.com/graphql-java/java-dataloader) will help you to make this a more efficient process by both caching and batching requests for that graph of data items. If `dataloader`
has seen a data item before, it will have cached the value and will return it without having to ask for it again.

Imagine we have the StarWars query outlined below. It asks us to find a hero, and their friend's names, and their friend's friend's
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-v22/batching.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: How to avoid the dreaded N+1 calls for data and make your graphql s
If you are using `graphql`, you are likely to making queries on a graph of data (no surprises there). However, it's easy
to implement inefficient code with naive loading of a graph of data.

Using `java-dataloader` will help you to make this a more efficient process by both caching and batching requests for that graph of data items. If `dataloader`
Using [java-dataloader](https://github.com/graphql-java/java-dataloader) will help you to make this a more efficient process by both caching and batching requests for that graph of data items. If `dataloader`
has seen a data item before, it will have cached the value and will return it without having to ask for it again.

Imagine we have the StarWars query outlined below. It asks us to find a hero, and their friend's names, and their friend's friend's
Expand Down

0 comments on commit bf53653

Please sign in to comment.