Skip to content

Commit

Permalink
fix: learn/schema typo (#1824)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rewwoken authored Dec 2, 2024
1 parent d6ef293 commit 3ad3d68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/learn/schema.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ You can arbitrarily nest any number of Non-Null and List modifiers, according to

Like many type systems, GraphQL supports _abstract types_. The first of these types that we'll explore is an [Interface type](https://spec.graphql.org/draft/#sec-Interfaces), which defines a certain set of fields that a concrete Object type or other Interface type must also include to implement it.

For example, you could have an `Character` Interface type that represents any character in the Star Wars trilogy:
For example, you could have a `Character` Interface type that represents any character in the Star Wars trilogy:

```graphql
interface Character {
Expand Down Expand Up @@ -563,4 +563,4 @@ To recap what we've learned about schemas and types:
- Type system directives can be applied to the types, fields, and arguments in a schema to alter how they are validated and executed during a query
- GraphQL supports schema documentation using type, field, and argument descriptions, and it also supports comments that are ignored by the parser

Now that you understand the key features of the type system, you're ready to learn more about how to [query data from a GraphQL API](/learn/queries/).
Now that you understand the key features of the type system, you're ready to learn more about how to [query data from a GraphQL API](/learn/queries/).

0 comments on commit 3ad3d68

Please sign in to comment.