mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-21 20:36:05 +03:00
Deployed e242714 with MkDocs version: 1.0.4
This commit is contained in:
parent
2d51707517
commit
03ae7f8678
@ -192,10 +192,8 @@
|
||||
<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="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/Folkloreatelier/laravel-graphql">Laravel GraphQL</a> – Integration with Laravel 5</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/nuwave/lighthouse">Lighthouse</a> – Laravel based, uses Schema Definition Language</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/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>
|
||||
</ul>
|
||||
|
@ -408,13 +408,13 @@ $server = new StandardServer($config);
|
||||
So for example following batch will require single DB request (if user field is deferred):</p>
|
||||
<pre><code class="json">[
|
||||
{
|
||||
"query": "{user(id: 1)} { id }"
|
||||
"query": "{user(id: 1) { id }}"
|
||||
},
|
||||
{
|
||||
"query": "{user(id: 2)} { id }"
|
||||
"query": "{user(id: 2) { id }}"
|
||||
},
|
||||
{
|
||||
"query": "{user(id: 3)} { id }"
|
||||
"query": "{user(id: 3) { id }}"
|
||||
}
|
||||
]
|
||||
</code></pre>
|
||||
|
@ -283,5 +283,5 @@ as well as some experimental features like
|
||||
|
||||
<!--
|
||||
MkDocs version : 1.0.4
|
||||
Build Date UTC : 2019-03-04 12:04:18
|
||||
Build Date UTC : 2019-05-29 11:08:49
|
||||
-->
|
||||
|
@ -445,7 +445,7 @@ static function listOf($wrappedType)
|
||||
</code></pre>
|
||||
|
||||
<pre><code class="php">/**
|
||||
* @param NullableType $wrappedType
|
||||
* @param ObjectType|InterfaceType|UnionType|ScalarType|InputObjectType|EnumType|ListOfType $wrappedType
|
||||
*
|
||||
* @return NonNull
|
||||
*
|
||||
@ -527,7 +527,7 @@ static function isType($type)
|
||||
<pre><code class="php">/**
|
||||
* @param Type $type
|
||||
*
|
||||
* @return NullableType
|
||||
* @return ObjectType|InterfaceType|UnionType|ScalarType|InputObjectType|EnumType|ListOfType
|
||||
*
|
||||
* @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
|
||||
*
|
||||
* @api
|
||||
* @var string
|
||||
* @var string|null
|
||||
*/
|
||||
public $fieldName;
|
||||
|
||||
@ -550,7 +550,7 @@ public $fieldName;
|
||||
* AST of all nodes referencing this field in the query.
|
||||
*
|
||||
* @api
|
||||
* @var FieldNode[]
|
||||
* @var FieldNode[]|null
|
||||
*/
|
||||
public $fieldNodes;
|
||||
|
||||
@ -566,7 +566,7 @@ public $returnType;
|
||||
* Parent type of the field being resolved
|
||||
*
|
||||
* @api
|
||||
* @var ObjectType
|
||||
* @var ObjectType|null
|
||||
*/
|
||||
public $parentType;
|
||||
|
||||
@ -574,7 +574,7 @@ public $parentType;
|
||||
* Path to this field from the very root value
|
||||
*
|
||||
* @api
|
||||
* @var string[][]
|
||||
* @var string[]
|
||||
*/
|
||||
public $path;
|
||||
|
||||
@ -590,7 +590,7 @@ public $schema;
|
||||
* AST of all fragments defined in query
|
||||
*
|
||||
* @api
|
||||
* @var FragmentDefinitionNode[]
|
||||
* @var FragmentDefinitionNode[]|null
|
||||
*/
|
||||
public $fragments;
|
||||
|
||||
@ -614,7 +614,7 @@ public $operation;
|
||||
* Array of variables passed to query execution
|
||||
*
|
||||
* @api
|
||||
* @var mixed[]
|
||||
* @var mixed[]|null
|
||||
*/
|
||||
public $variableValues;
|
||||
</code></pre>
|
||||
@ -1276,7 +1276,7 @@ const SCHEMA_EXTENSION = "SchemaExtension";
|
||||
* execution are collected in `$result->errors`.
|
||||
*
|
||||
* @param mixed|null $rootValue
|
||||
* @param mixed|null $contextValue
|
||||
* @param mixed[]|null $contextValue
|
||||
* @param mixed[]|ArrayAccess|null $variableValues
|
||||
* @param string|null $operationName
|
||||
*
|
||||
@ -1301,8 +1301,8 @@ static function execute(
|
||||
*
|
||||
* Useful for async PHP platforms.
|
||||
*
|
||||
* @param mixed|null $rootValue
|
||||
* @param mixed|null $contextValue
|
||||
* @param mixed[]|null $rootValue
|
||||
* @param mixed[]|null $contextValue
|
||||
* @param mixed[]|null $variableValues
|
||||
* @param string|null $operationName
|
||||
*
|
||||
@ -2167,12 +2167,6 @@ public $operation;
|
||||
* @var mixed[]|null
|
||||
*/
|
||||
public $variables;
|
||||
|
||||
/**
|
||||
* @api
|
||||
* @var mixed[]|null
|
||||
*/
|
||||
public $extensions;
|
||||
</code></pre>
|
||||
|
||||
<p><strong>Class Methods:</strong> </p>
|
||||
|
File diff suppressed because one or more lines are too long
40
sitemap.xml
40
sitemap.xml
@ -2,102 +2,102 @@
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-03-04</lastmod>
|
||||
<lastmod>2019-05-29</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-03-04</lastmod>
|
||||
<lastmod>2019-05-29</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-03-04</lastmod>
|
||||
<lastmod>2019-05-29</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-03-04</lastmod>
|
||||
<lastmod>2019-05-29</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-03-04</lastmod>
|
||||
<lastmod>2019-05-29</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-03-04</lastmod>
|
||||
<lastmod>2019-05-29</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-03-04</lastmod>
|
||||
<lastmod>2019-05-29</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-03-04</lastmod>
|
||||
<lastmod>2019-05-29</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-03-04</lastmod>
|
||||
<lastmod>2019-05-29</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-03-04</lastmod>
|
||||
<lastmod>2019-05-29</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-03-04</lastmod>
|
||||
<lastmod>2019-05-29</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-03-04</lastmod>
|
||||
<lastmod>2019-05-29</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-03-04</lastmod>
|
||||
<lastmod>2019-05-29</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-03-04</lastmod>
|
||||
<lastmod>2019-05-29</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-03-04</lastmod>
|
||||
<lastmod>2019-05-29</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-03-04</lastmod>
|
||||
<lastmod>2019-05-29</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-03-04</lastmod>
|
||||
<lastmod>2019-05-29</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-03-04</lastmod>
|
||||
<lastmod>2019-05-29</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-03-04</lastmod>
|
||||
<lastmod>2019-05-29</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>2019-03-04</lastmod>
|
||||
<lastmod>2019-05-29</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
</urlset>
|
BIN
sitemap.xml.gz
BIN
sitemap.xml.gz
Binary file not shown.
@ -344,7 +344,7 @@ $filters = new InputObjectType([
|
||||
<tr>
|
||||
<td>defaultValue</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>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -385,7 +385,7 @@ Each argument is an array with following options:</p>
|
||||
<tr>
|
||||
<td>defaultValue</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>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -259,7 +259,7 @@ $cacheFilename = 'cached_schema.php';
|
||||
|
||||
if (!file_exists($cacheFilename)) {
|
||||
$document = Parser::parse(file_get_contents('./schema.graphql'));
|
||||
file_put_contents($cacheFilename, "<?php\nreturn " . var_export(AST::toArray($document), true));
|
||||
file_put_contents($cacheFilename, "<?php\nreturn " . var_export(AST::toArray($document), true) . ";\n");
|
||||
} else {
|
||||
$document = AST::fromArray(require $cacheFilename); // fromArray() is a lazy operation as well
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user