Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ If you're new to GraphQL, get acquainted with the GraphQL API via the NerdGraph
src="/images/apis-and-data_screenshot-full_NerdGraph-mutation-example.webp"
/>

In this case, you adding a custom tag to an entity. The editor will complain if you don't select `errors`: Mutations must have a way of telling you how the operation performed in the backend (failed requests result in null responses).
When you add a custom tag to an entity, you must select the `errors` field. Otherwise, the editor displays an error.

<Callout variant="tip">
Unlike REST, GraphQL APIs like NerdGraph can return partial responses. For example, if you try adding tags to multiple entities, some mutations can fail and others succeed; all is logged in the GraphQL response you get.
Expand Down
Loading