Skip to content

Commit 1a1e8f8

Browse files
j0k3rSashko Stubailo
authored and
Sashko Stubailo
committed
Small typo (graphql#75)
1 parent cd7730c commit 1a1e8f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/learn/BestPractice-Caching.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ One possible pattern for this is reserving a field, like `id`, to be a globally
3333

3434
This is a powerful tool to hand to client developers. In the same way that the URLs of a resource-based API provided a globally unique key, the `id` field in this system provides a globally unique key.
3535

36-
If the backend uses something like UUIDs for identifiers, then exposing this gloablly unique ID may be very straightforward! If the backend doesn't have a globally unique ID for every object already, the GraphQL layer might have to construct this. Oftentimes, that's as simple as appending the name of the type to the ID and using that as the identifier; the server might then make that ID opaque by base64-encoding it.
36+
If the backend uses something like UUIDs for identifiers, then exposing this globally unique ID may be very straightforward! If the backend doesn't have a globally unique ID for every object already, the GraphQL layer might have to construct this. Oftentimes, that's as simple as appending the name of the type to the ID and using that as the identifier; the server might then make that ID opaque by base64-encoding it.
3737

3838
## Compatibility with existing APIs
3939

0 commit comments

Comments
 (0)