Skip to content

Commit

Permalink
chore(docs): fix nullability yaml frontmatter
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonkuhrt committed Dec 4, 2020
1 parent b5e3335 commit 1e4fd3c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/014-guides/020-schema.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: 'Schema'
title: Schema
tocDepth: 2
---

Expand Down
5 changes: 5 additions & 0 deletions docs/content/014-guides/021-nullability.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
title: Nullability
tocDepth: 2
---

## Nullability in principle

When creating an API, especially before going to production or lifting features out of beta, thinking about if arguments and input object fields (_inputs_) should be required and if object type fields (_outputs_) should be nullable is an important design consideration. How easy your API is to consume trades for how easy it is to change and some reliability characteristics.
Expand Down

0 comments on commit 1e4fd3c

Please sign in to comment.