Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

graphql-interface.html 1004 B

You have to be logged in to leave a comment. Sign In
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
26
27
28
29
30
31
32
33
34
  1. <div>
  2. <div>
  3. <h3 id="{{ item.id }}" class="pt-3">
  4. <a href="#{{ item.id }}">{{item.name}}</a>
  5. </h3>
  6. {{ item.description }}
  7. </div>
  8. <div>
  9. {% include graphql-preview %}
  10. {% include graphql-deprecation %}
  11. <!-- Calculate and render "Implemented By" section -->
  12. <!-- TODO instead of calculating in layout, better to calculate in graphql-data? -->
  13. <h4>{% data ui.products.graphql.reference.implemented_by %}</h4>
  14. <ul>
  15. <!-- Loop over objects, then loop over object interfaces, and find a match -->
  16. {% for object in graphql.schemaForCurrentVersion.objects %}
  17. {% for interface in object.implements %}
  18. {% if interface.name == item.name %}
  19. <li><code><a href="/{{ currentLanguage }}{{ object.href }}">{{ object.name }}</a></code></li>
  20. {% endif %}
  21. {% endfor %}
  22. {% endfor %}
  23. </ul>
  24. {% if item.fields %}
  25. <h4>{% data ui.products.graphql.reference.fields %}</h4>
  26. {% assign fields = item.fields %}
  27. {% include graphql-fields %}
  28. {% endif %}
  29. </div>
  30. <hr>
  31. </div>
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...