Skip to content

Commit d986078

Browse files
committed
Deploy 20220401_143754
1 parent 8b377e2 commit d986078

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

page-data/postgraphile/make-extend-schema-plugin/page-data.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

postgraphile/make-extend-schema-plugin/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,8 @@ <h4 id="pgquery-with-an-object-type"><a href="#pgquery-with-an-object-type" aria
567567
</ul>
568568
<h4 id="pgquery-with-a-leaf-type"><a href="#pgquery-with-a-leaf-type" aria-label="pgquery with a leaf type permalink" class="anchor"><svg aria-hidden="true" focusable="false" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>@pgQuery with a leaf type</h4>
569569
<p><strong>NOTE: this section applies to PostGraphile v4.4.6+</strong></p>
570+
<p><strong>BUG: it seems <code class="language-text">@pgQuery</code> only supports <em>scalars</em> (not <em>enums</em>) right now:
571+
<a href="https://github.com/graphile/postgraphile/issues/1601">https://github.com/graphile/postgraphile/issues/1601</a></strong></p>
570572
<p>The @pgQuery directive can also be used with leaf fields (those returning a
571573
scalar or list thereof). To do so, we pass <code class="language-text">@pgQuery</code> a <code class="language-text">fragment:</code> argument.
572574
This argument can take two forms:</p>

0 commit comments

Comments
 (0)