@@ -8,28 +8,28 @@ <h2 id="{{ item.id }}">
88 </ div >
99
1010 < div >
11- {% include graphql-preview %} {% include graphql-deprecation %}
11+ {% include graphql-preview %}
12+ {% include graphql-deprecation %}
1213
13- <!-- Calculate and render "Implemented By" section -->
14- <!-- TODO instead of calculating in layout, better to calculate in graphql-data? -->
15- < h4 > {% data ui.products.graphql.reference.implemented_by %}</ h4 >
16- < ul >
17- <!-- Loop over objects, then loop over object interfaces, and find a match -->
18- {% for object in graphql.schemaForCurrentVersion.objects %} {% for
19- interface in object.implements %} {% if interface.name == item.name %}
20- < li >
21- < code
22- > < a href ="/{{ currentLanguage }}{{ object.href }} "
23- > {{ object.name }}</ a
24- > </ code
25- >
26- </ li >
27- {% endif %} {% endfor %} {% endfor %}
28- </ ul >
14+ <!-- Calculate and render "Implemented By" section -->
15+ <!-- TODO instead of calculating in layout, better to calculate in graphql-data? -->
16+ < h4 > {% data ui.products.graphql.reference.implemented_by %}</ h4 >
17+ < ul >
18+ <!-- Loop over objects, then loop over object interfaces, and find a match -->
19+ {% for object in graphql.schemaForCurrentVersion.objects %}
20+ {% for interface in object.implements %}
21+ {% if interface.name == item.name %}
22+ < li >
23+ < code > < a href ="/{{ currentLanguage }}{{ object.href }} "> {{ object.name }}</ a > </ code >
24+ </ li >
25+ {% endif %} {% endfor %} {% endfor %}
26+ </ ul >
2927
30- {% if item.fields %}
31- < h4 > {% data ui.products.graphql.reference.fields %}</ h4 >
32- {% assign fields = item.fields %} {% include graphql-fields %} {% endif %}
28+ {% if item.fields %}
29+ < h4 > {% data ui.products.graphql.reference.fields %}</ h4 >
30+ {% assign fields = item.fields %}
31+ {% include graphql-fields %}
32+ {% endif %}
3333 </ div >
3434 < hr />
3535</ div >
0 commit comments