Skip to content

Commit

Permalink
deploy: 32d24f6
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Apr 4, 2024
1 parent dd9b086 commit 33b6737
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion draft/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5881,7 +5881,7 @@ <h6 data-source="spec/Section%207%20--%20Response.md#L95"><a href="#sec-Errors.E
<p data-source="spec/Section%207%20--%20Response.md#L97-L99">Every error must contain an entry with the key <code>message</code> with a string description of the error intended for the developer as a guide to understand and correct the error.</p>
<p data-source="spec/Section%207%20--%20Response.md#L101-L105">If an error can be associated to a particular point in the requested GraphQL document, it should contain an entry with the key <code>locations</code> with a list of locations, where each location is a map with the keys <code>line</code> and <code>column</code>, both positive numbers starting from <code>1</code> which describe the beginning of an associated syntax element.</p>
<p data-source="spec/Section%207%20--%20Response.md#L107-L110">If an error can be associated to a particular field in the GraphQL result, it must contain an entry with the key <code>path</code> that details the path of the response field which experienced the error. This allows clients to identify whether a <code>null</code> result is intentional or caused by a runtime error.</p>
<p data-source="spec/Section%207%20--%20Response.md#L112-L117">This field should be a list of path segments starting at the root of the response and ending with the field associated with the error. Path segments that represent fields should be strings, and path segments that represent list indices should be 0-indexed integers. If the error happens in an aliased field, the path to the error should use the aliased name, since it represents a path in the response, not in the request.</p>
<p data-source="spec/Section%207%20--%20Response.md#L112-L117">If present, this field must be a list of path segments starting at the root of the response and ending with the field associated with the error. Path segments that represent fields must be strings, and path segments that represent list indices must be 0-indexed integers. If the error happens in an aliased field, the path to the error must use the aliased name, since it represents a path in the response, not in the request.</p>
<p data-source="spec/Section%207%20--%20Response.md#L119-L120">For example, if fetching one of the friends&rsquo; names fails in the following operation:</p>
<pre id="example-bc485" class="spec-example" data-language="graphql" data-source="spec/Section%207%20--%20Response.md#L122-L132"><a href="#example-bc485">Example № 199</a><code><span class="token punctuation">{</span>
<span class="token property-query">hero</span><span class="token punctuation">(</span><span class="token attr-name">episode</span><span class="token punctuation">:</span> <span class="token variable">$episode</span><span class="token punctuation">)</span> <span class="token punctuation">{</span>
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<html> <head> <title>GraphQL Specification Versions</title> <style> body { color: #333333; font: 13pt/18pt Cambria, 'Palatino Linotype', Palatino, 'Liberation Serif', serif; margin: 6rem auto 3rem; max-width: 780px; } @media (min-width: 1240px) { body { padding-right: 300px; } } a { color: #3B5998; text-decoration: none; } a:hover { text-decoration: underline; } h1 { font-size: 1.5em; margin: 8rem 0 2em; } td { padding-bottom: 5px; } td + td { padding-left: 2ch; } </style> </head> <body> <h1>GraphQL</h1> <table> <tr> <td><em>Prerelease</em></td> <td><a href="./draft" keep-hash>Working Draft</a></td> <td>Wed, Mar 27, 2024</td> <td></td> </tr> <tr> <td><em>Latest Release</em></td> <td><a href="./October2021" keep-hash>October 2021</a></td> <td>Tue, Oct 26, 2021</td> <td><a href="https://github.com/graphql/graphql-spec/releases/tag/October2021">Release Notes</a></td> </tr> <tr> <td></td> <td><a href="./June2018" keep-hash>June 2018</a></td> <td>Sun, Jun 10, 2018</td> <td><a href="https://github.com/graphql/graphql-spec/releases/tag/June2018">Release Notes</a></td> </tr> <tr> <td></td> <td><a href="./October2016" keep-hash>October 2016</a></td> <td>Mon, Oct 31, 2016</td> <td><a href="https://github.com/graphql/graphql-spec/releases/tag/October2016">Release Notes</a></td> </tr> <tr> <td></td> <td><a href="./April2016" keep-hash>April 2016</a></td> <td>Thu, Apr 7, 2016</td> <td><a href="https://github.com/graphql/graphql-spec/releases/tag/April2016">Release Notes</a></td> </tr> <tr> <td></td> <td><a href="./October2015" keep-hash>October 2015</a></td> <td>Thu, Oct 1, 2015</td> <td><a href="https://github.com/graphql/graphql-spec/releases/tag/October2015">Release Notes</a></td> </tr> <tr> <td></td> <td><a href="./July2015" keep-hash>July 2015</a></td> <td>Thu, Jul 2, 2015</td> <td><a href="https://github.com/graphql/graphql-spec/releases/tag/July2015">Release Notes</a></td> </tr> </table> <script> var links = document.getElementsByTagName('a'); for (var i = 0; i < links.length; i++) { if (links[i].hasAttribute('keep-hash')) { links[i].href += location.hash; links[i].removeAttribute('keep-hash'); } } </script> </body> </html>
<html> <head> <title>GraphQL Specification Versions</title> <style> body { color: #333333; font: 13pt/18pt Cambria, 'Palatino Linotype', Palatino, 'Liberation Serif', serif; margin: 6rem auto 3rem; max-width: 780px; } @media (min-width: 1240px) { body { padding-right: 300px; } } a { color: #3B5998; text-decoration: none; } a:hover { text-decoration: underline; } h1 { font-size: 1.5em; margin: 8rem 0 2em; } td { padding-bottom: 5px; } td + td { padding-left: 2ch; } </style> </head> <body> <h1>GraphQL</h1> <table> <tr> <td><em>Prerelease</em></td> <td><a href="./draft" keep-hash>Working Draft</a></td> <td>Thu, Apr 4, 2024</td> <td></td> </tr> <tr> <td><em>Latest Release</em></td> <td><a href="./October2021" keep-hash>October 2021</a></td> <td>Tue, Oct 26, 2021</td> <td><a href="https://github.com/graphql/graphql-spec/releases/tag/October2021">Release Notes</a></td> </tr> <tr> <td></td> <td><a href="./June2018" keep-hash>June 2018</a></td> <td>Sun, Jun 10, 2018</td> <td><a href="https://github.com/graphql/graphql-spec/releases/tag/June2018">Release Notes</a></td> </tr> <tr> <td></td> <td><a href="./October2016" keep-hash>October 2016</a></td> <td>Mon, Oct 31, 2016</td> <td><a href="https://github.com/graphql/graphql-spec/releases/tag/October2016">Release Notes</a></td> </tr> <tr> <td></td> <td><a href="./April2016" keep-hash>April 2016</a></td> <td>Thu, Apr 7, 2016</td> <td><a href="https://github.com/graphql/graphql-spec/releases/tag/April2016">Release Notes</a></td> </tr> <tr> <td></td> <td><a href="./October2015" keep-hash>October 2015</a></td> <td>Thu, Oct 1, 2015</td> <td><a href="https://github.com/graphql/graphql-spec/releases/tag/October2015">Release Notes</a></td> </tr> <tr> <td></td> <td><a href="./July2015" keep-hash>July 2015</a></td> <td>Thu, Jul 2, 2015</td> <td><a href="https://github.com/graphql/graphql-spec/releases/tag/July2015">Release Notes</a></td> </tr> </table> <script> var links = document.getElementsByTagName('a'); for (var i = 0; i < links.length; i++) { if (links[i].hasAttribute('keep-hash')) { links[i].href += location.hash; links[i].removeAttribute('keep-hash'); } } </script> </body> </html>

0 comments on commit 33b6737

Please sign in to comment.