How to Write Queries with Schemas

When we looked at queries in the last chapter, we deliberately chose to write them without schemas. This is still a good choice in certain circumstances, but schemas provide some helpful shortcuts and we promised that we’d revisit them later. Now’s the time. In this section, we’ll start writing queries that work with schemas and consider when it’s best not to.

Convert a schema-less query

Let’s look at a query we ran in the last chapter:

Get hands-on with 1400+ tech skills courses.