Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: learn/schema typo #1824

Merged
merged 1 commit into from
Dec 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/).