Deployed e242714 with MkDocs version: 1.0.4

This commit is contained in:
Vladimir Razuvaev 2019-05-29 18:08:49 +07:00
parent 2d51707517
commit 03ae7f8678
10 changed files with 41 additions and 49 deletions

View File

@ -192,10 +192,8 @@
<ul> <ul>
<li><a href="executing-queries.md/#using-server">Standard Server</a> Out of the box integration with any PSR-7 compatible framework (like <a href="http://slimframework.com">Slim</a> or <a href="http://zendframework.github.io/zend-expressive/">Zend Expressive</a>).</li> <li><a href="executing-queries.md/#using-server">Standard Server</a> Out of the box integration with any PSR-7 compatible framework (like <a href="http://slimframework.com">Slim</a> or <a href="http://zendframework.github.io/zend-expressive/">Zend Expressive</a>).</li>
<li><a href="https://github.com/ivome/graphql-relay-php">Relay Library for graphql-php</a> Helps construct Relay related schema definitions.</li> <li><a href="https://github.com/ivome/graphql-relay-php">Relay Library for graphql-php</a> Helps construct Relay related schema definitions.</li>
<li>Laravel </li> <li><a href="https://github.com/nuwave/lighthouse">Lighthouse</a> Laravel based, uses Schema Definition Language</li>
<li><a href="https://github.com/Folkloreatelier/laravel-graphql">Laravel GraphQL</a> Integration with Laravel 5</li> <li><a href="https://github.com/rebing/graphql-laravel">Laravel GraphQL</a> - Laravel wrapper for Facebook's GraphQL</li>
<li><a href="https://github.com/nuwave/laravel-graphql-relay">laravel-graphql-relay</a> Relay Helpers for Laravel</li>
<li><a href="https://github.com/nuwave/lighthouse">Lighthouse</a> GraphQL Server for Laravel</li>
<li><a href="https://github.com/overblog/GraphQLBundle">OverblogGraphQLBundle</a> Bundle for Symfony</li> <li><a href="https://github.com/overblog/GraphQLBundle">OverblogGraphQLBundle</a> Bundle for Symfony</li>
<li><a href="https://github.com/wp-graphql/wp-graphql">WP-GraphQL</a> - GraphQL API for WordPress</li> <li><a href="https://github.com/wp-graphql/wp-graphql">WP-GraphQL</a> - GraphQL API for WordPress</li>
</ul> </ul>

View File

@ -408,13 +408,13 @@ $server = new StandardServer($config);
So for example following batch will require single DB request (if user field is deferred):</p> So for example following batch will require single DB request (if user field is deferred):</p>
<pre><code class="json">[ <pre><code class="json">[
{ {
&quot;query&quot;: &quot;{user(id: 1)} { id }&quot; &quot;query&quot;: &quot;{user(id: 1) { id }}&quot;
}, },
{ {
&quot;query&quot;: &quot;{user(id: 2)} { id }&quot; &quot;query&quot;: &quot;{user(id: 2) { id }}&quot;
}, },
{ {
&quot;query&quot;: &quot;{user(id: 3)} { id }&quot; &quot;query&quot;: &quot;{user(id: 3) { id }}&quot;
} }
] ]
</code></pre> </code></pre>

View File

@ -283,5 +283,5 @@ as well as some experimental features like
<!-- <!--
MkDocs version : 1.0.4 MkDocs version : 1.0.4
Build Date UTC : 2019-03-04 12:04:18 Build Date UTC : 2019-05-29 11:08:49
--> -->

View File

@ -445,7 +445,7 @@ static function listOf($wrappedType)
</code></pre> </code></pre>
<pre><code class="php">/** <pre><code class="php">/**
* @param NullableType $wrappedType * @param ObjectType|InterfaceType|UnionType|ScalarType|InputObjectType|EnumType|ListOfType $wrappedType
* *
* @return NonNull * @return NonNull
* *
@ -527,7 +527,7 @@ static function isType($type)
<pre><code class="php">/** <pre><code class="php">/**
* @param Type $type * @param Type $type
* *
* @return NullableType * @return ObjectType|InterfaceType|UnionType|ScalarType|InputObjectType|EnumType|ListOfType
* *
* @api * @api
*/ */
@ -542,7 +542,7 @@ Passed as 3rd argument to every field resolver. See <a href="../data-fetching/">
* The name of the field being resolved * The name of the field being resolved
* *
* @api * @api
* @var string * @var string|null
*/ */
public $fieldName; public $fieldName;
@ -550,7 +550,7 @@ public $fieldName;
* AST of all nodes referencing this field in the query. * AST of all nodes referencing this field in the query.
* *
* @api * @api
* @var FieldNode[] * @var FieldNode[]|null
*/ */
public $fieldNodes; public $fieldNodes;
@ -566,7 +566,7 @@ public $returnType;
* Parent type of the field being resolved * Parent type of the field being resolved
* *
* @api * @api
* @var ObjectType * @var ObjectType|null
*/ */
public $parentType; public $parentType;
@ -574,7 +574,7 @@ public $parentType;
* Path to this field from the very root value * Path to this field from the very root value
* *
* @api * @api
* @var string[][] * @var string[]
*/ */
public $path; public $path;
@ -590,7 +590,7 @@ public $schema;
* AST of all fragments defined in query * AST of all fragments defined in query
* *
* @api * @api
* @var FragmentDefinitionNode[] * @var FragmentDefinitionNode[]|null
*/ */
public $fragments; public $fragments;
@ -614,7 +614,7 @@ public $operation;
* Array of variables passed to query execution * Array of variables passed to query execution
* *
* @api * @api
* @var mixed[] * @var mixed[]|null
*/ */
public $variableValues; public $variableValues;
</code></pre> </code></pre>
@ -1276,7 +1276,7 @@ const SCHEMA_EXTENSION = &quot;SchemaExtension&quot;;
* execution are collected in `$result-&gt;errors`. * execution are collected in `$result-&gt;errors`.
* *
* @param mixed|null $rootValue * @param mixed|null $rootValue
* @param mixed|null $contextValue * @param mixed[]|null $contextValue
* @param mixed[]|ArrayAccess|null $variableValues * @param mixed[]|ArrayAccess|null $variableValues
* @param string|null $operationName * @param string|null $operationName
* *
@ -1301,8 +1301,8 @@ static function execute(
* *
* Useful for async PHP platforms. * Useful for async PHP platforms.
* *
* @param mixed|null $rootValue * @param mixed[]|null $rootValue
* @param mixed|null $contextValue * @param mixed[]|null $contextValue
* @param mixed[]|null $variableValues * @param mixed[]|null $variableValues
* @param string|null $operationName * @param string|null $operationName
* *
@ -2167,12 +2167,6 @@ public $operation;
* @var mixed[]|null * @var mixed[]|null
*/ */
public $variables; public $variables;
/**
* @api
* @var mixed[]|null
*/
public $extensions;
</code></pre> </code></pre>
<p><strong>Class Methods:</strong> </p> <p><strong>Class Methods:</strong> </p>

File diff suppressed because one or more lines are too long

View File

@ -2,102 +2,102 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url> <url>
<loc>None</loc> <loc>None</loc>
<lastmod>2019-03-04</lastmod> <lastmod>2019-05-29</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>None</loc> <loc>None</loc>
<lastmod>2019-03-04</lastmod> <lastmod>2019-05-29</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>None</loc> <loc>None</loc>
<lastmod>2019-03-04</lastmod> <lastmod>2019-05-29</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>None</loc> <loc>None</loc>
<lastmod>2019-03-04</lastmod> <lastmod>2019-05-29</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>None</loc> <loc>None</loc>
<lastmod>2019-03-04</lastmod> <lastmod>2019-05-29</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>None</loc> <loc>None</loc>
<lastmod>2019-03-04</lastmod> <lastmod>2019-05-29</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>None</loc> <loc>None</loc>
<lastmod>2019-03-04</lastmod> <lastmod>2019-05-29</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>None</loc> <loc>None</loc>
<lastmod>2019-03-04</lastmod> <lastmod>2019-05-29</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>None</loc> <loc>None</loc>
<lastmod>2019-03-04</lastmod> <lastmod>2019-05-29</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>None</loc> <loc>None</loc>
<lastmod>2019-03-04</lastmod> <lastmod>2019-05-29</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>None</loc> <loc>None</loc>
<lastmod>2019-03-04</lastmod> <lastmod>2019-05-29</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>None</loc> <loc>None</loc>
<lastmod>2019-03-04</lastmod> <lastmod>2019-05-29</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>None</loc> <loc>None</loc>
<lastmod>2019-03-04</lastmod> <lastmod>2019-05-29</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>None</loc> <loc>None</loc>
<lastmod>2019-03-04</lastmod> <lastmod>2019-05-29</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>None</loc> <loc>None</loc>
<lastmod>2019-03-04</lastmod> <lastmod>2019-05-29</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>None</loc> <loc>None</loc>
<lastmod>2019-03-04</lastmod> <lastmod>2019-05-29</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>None</loc> <loc>None</loc>
<lastmod>2019-03-04</lastmod> <lastmod>2019-05-29</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>None</loc> <loc>None</loc>
<lastmod>2019-03-04</lastmod> <lastmod>2019-05-29</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>None</loc> <loc>None</loc>
<lastmod>2019-03-04</lastmod> <lastmod>2019-05-29</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>None</loc> <loc>None</loc>
<lastmod>2019-03-04</lastmod> <lastmod>2019-05-29</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
</urlset> </urlset>

Binary file not shown.

View File

@ -344,7 +344,7 @@ $filters = new InputObjectType([
<tr> <tr>
<td>defaultValue</td> <td>defaultValue</td>
<td><code>scalar</code></td> <td><code>scalar</code></td>
<td>Default value of this input field</td> <td>Default value of this input field. Use the internal value if specifying a default for an <strong>enum</strong> type</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View File

@ -385,7 +385,7 @@ Each argument is an array with following options:</p>
<tr> <tr>
<td>defaultValue</td> <td>defaultValue</td>
<td><code>scalar</code></td> <td><code>scalar</code></td>
<td>Default value for this argument</td> <td>Default value for this argument. Use the internal value if specifying a default for an <strong>enum</strong> type</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View File

@ -259,7 +259,7 @@ $cacheFilename = 'cached_schema.php';
if (!file_exists($cacheFilename)) { if (!file_exists($cacheFilename)) {
$document = Parser::parse(file_get_contents('./schema.graphql')); $document = Parser::parse(file_get_contents('./schema.graphql'));
file_put_contents($cacheFilename, &quot;&lt;?php\nreturn &quot; . var_export(AST::toArray($document), true)); file_put_contents($cacheFilename, &quot;&lt;?php\nreturn &quot; . var_export(AST::toArray($document), true) . &quot;;\n&quot;);
} else { } else {
$document = AST::fromArray(require $cacheFilename); // fromArray() is a lazy operation as well $document = AST::fromArray(require $cacheFilename); // fromArray() is a lazy operation as well
} }