Deployed ff3a40d with MkDocs version: 0.15.3

This commit is contained in:
vladar 2016-12-17 05:21:05 +07:00
parent 21e2f15617
commit 2d6fbf6ca6
4 changed files with 23 additions and 24 deletions

View File

@ -357,7 +357,7 @@ for a field you simply override this default resolver.</p>
<p>Keep in mind that <strong>field resolver</strong> has precedence over <strong>default field resolver per type</strong> which in turn
has precedence over <strong>default field resolver</strong>.</p>
<h1 id="solving-n1-problem">Solving N+1 Problem</h1>
<p>Since: 9.0</p>
<p>Since: 0.9.0</p>
<p>One of the most annoying problems with data fetching is so-called <a href="https://secure.phabricator.com/book/phabcontrib/article/n_plus_one/">N+1 problem</a>.</p>
<p>Consider following GraphQL query:</p>
<pre><code>{
@ -379,7 +379,7 @@ when one batched query could be executed instead of 10 distinct queries.</p>
MyUserBuffer::add($blogStory['authorId']);
return new GraphQL\Deferred(function () use ($blogStory) {
MyUserBuffer::loadOnce();
MyUserBuffer::loadBuffered();
return MyUserBuffer::get($blogStory['authorId']);
});
}
@ -412,7 +412,7 @@ project.</p>
In this example only one query will be executed for all story authors comparing to 20 queries
in naive implementation.</p>
<h1 id="async-php">Async PHP</h1>
<p>Since: 9.0</p>
<p>Since: 0.9.0</p>
<p>If your project runs in environment that supports async operations
(like <code>HHVM</code>, <code>ReactPHP</code>, <code>Icicle.io</code>, <code>appserver.io</code> <code>PHP threads</code>, etc) you can leverage
the power of your platform to resolve fields asynchronously.</p>
@ -429,7 +429,6 @@ the power of your platform to resolve fields asynchronously.</p>
<ul>
<li><a href="https://github.com/reactphp/react">ReactPHP</a> (requires <strong>react/promise</strong> as composer dependency):
<code>GraphQL\GraphQL::setPromiseAdapter(new GraphQL\Executor\Promise\Adapter\ReactPromiseAdapter());</code></li>
<li>HHVM: TODO</li>
</ul>
<p>To integrate other platform - implement <code>GraphQL\Executor\Promise\PromiseAdapter</code> interface. </p>

View File

@ -303,5 +303,5 @@ Schema Language parser.</p>
<!--
MkDocs version : 0.15.3
Build Date UTC : 2016-12-14 13:34:54.150000
Build Date UTC : 2016-12-16 22:21:03.555000
-->

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
<url>
<loc>None/</loc>
<lastmod>2016-12-14</lastmod>
<lastmod>2016-12-17</lastmod>
<changefreq>daily</changefreq>
</url>
@ -12,7 +12,7 @@
<url>
<loc>None/getting-started/</loc>
<lastmod>2016-12-14</lastmod>
<lastmod>2016-12-17</lastmod>
<changefreq>daily</changefreq>
</url>
@ -21,61 +21,61 @@
<url>
<loc>None/type-system/</loc>
<lastmod>2016-12-14</lastmod>
<lastmod>2016-12-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None/type-system/object-types/</loc>
<lastmod>2016-12-14</lastmod>
<lastmod>2016-12-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None/type-system/scalar-types/</loc>
<lastmod>2016-12-14</lastmod>
<lastmod>2016-12-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None/type-system/enum-types/</loc>
<lastmod>2016-12-14</lastmod>
<lastmod>2016-12-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None/type-system/lists-and-nonnulls/</loc>
<lastmod>2016-12-14</lastmod>
<lastmod>2016-12-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None/type-system/interfaces/</loc>
<lastmod>2016-12-14</lastmod>
<lastmod>2016-12-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None/type-system/unions/</loc>
<lastmod>2016-12-14</lastmod>
<lastmod>2016-12-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None/type-system/input-types/</loc>
<lastmod>2016-12-14</lastmod>
<lastmod>2016-12-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None/type-system/directives/</loc>
<lastmod>2016-12-14</lastmod>
<lastmod>2016-12-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None/type-system/schema/</loc>
<lastmod>2016-12-14</lastmod>
<lastmod>2016-12-17</lastmod>
<changefreq>daily</changefreq>
</url>
@ -84,7 +84,7 @@
<url>
<loc>None/executing-queries/</loc>
<lastmod>2016-12-14</lastmod>
<lastmod>2016-12-17</lastmod>
<changefreq>daily</changefreq>
</url>
@ -92,7 +92,7 @@
<url>
<loc>None/data-fetching/</loc>
<lastmod>2016-12-14</lastmod>
<lastmod>2016-12-17</lastmod>
<changefreq>daily</changefreq>
</url>
@ -100,7 +100,7 @@
<url>
<loc>None/error-handling/</loc>
<lastmod>2016-12-14</lastmod>
<lastmod>2016-12-17</lastmod>
<changefreq>daily</changefreq>
</url>
@ -108,7 +108,7 @@
<url>
<loc>None/complementary-tools/</loc>
<lastmod>2016-12-14</lastmod>
<lastmod>2016-12-17</lastmod>
<changefreq>daily</changefreq>
</url>