Skip to content

Commit

Permalink
feat(docs): Add schema customization docs (gatsbyjs#13832)
Browse files Browse the repository at this point in the history
Add schema customization docs
  • Loading branch information
stefanprobst authored and freiksenet committed May 23, 2019
1 parent 351b211 commit 4b2998b
Show file tree
Hide file tree
Showing 7 changed files with 857 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/docs/schema-connections.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
title: Schema connections
---

> This documentation isn't up to date with latest
> [schema customization changes](/docs/schema-customization). Help Gatsby by
> making a PR to [update this documentation](https://github.com/gatsbyjs/gatsby/issues/14228)!
## What are schema connections?

So far in schema generation, we have covered how [GraphQL types are inferred](/docs/schema-gql-type), how [query arguments for types](/docs/schema-input-gql) are created, and how [sift resolvers](/docs/schema-sift) work. But all of these only allow querying down to a single node of a type. Schema connections is the ability to query over **collections** of nodes of a type. For example, if we want to query all markdown nodes by some criteria, it will allow us to write queries such as:
Expand Down
Loading

0 comments on commit 4b2998b

Please sign in to comment.