forked from github/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgraphql-fields.html
More file actions
25 lines (23 loc) · 782 Bytes
/
graphql-fields.html
File metadata and controls
25 lines (23 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<table class="fields width-full">
<thead>
<tr>
<th>{% data ui.products.graphql.reference.name %}</th>
<th>{% data ui.products.graphql.reference.description %}</th>
</tr>
</thead>
<tbody>
{% for field in fields %}
<tr>
<td><p><code>{{ field.name }}</code> (<code><a href="/{{ currentLanguage }}{{ field.href }}">{{ field.type }}</a></code>)</p></td>
<td><p>{% if field.description %}{{ field.description }}{% else %}N/A{% endif %}</p>
{% if field.defaultValue or field.defaultValue == false %}<p>The default value is <code>{{ field.defaultValue }}</code>.</p>{% endif %}
{% assign item = field %}
{% include graphql-preview %}
{% include graphql-deprecation %}
{% assign arguments = field.arguments %}
{% include graphql-arguments %}
</td>
</tr>
{% endfor %}
</tbody>
</table>