query_introspection.php 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. declare(strict_types=1);
  7. return [
  8. [
  9. 'name' => 'customAttributeMetadata',
  10. 'args' =>
  11. [
  12. [
  13. 'name' => 'attributes',
  14. 'description' => '',
  15. 'type' =>
  16. [
  17. 'kind' => 'NON_NULL',
  18. 'name' => null,
  19. 'ofType' =>
  20. [
  21. 'kind' => 'LIST',
  22. 'name' => null,
  23. ]
  24. ],
  25. 'defaultValue' => null,
  26. ]
  27. ]
  28. ],
  29. [
  30. 'name' => 'testItem',
  31. 'args' =>
  32. [
  33. [
  34. 'name' => 'id',
  35. 'description' => '',
  36. 'type' =>
  37. [
  38. 'kind' => 'NON_NULL',
  39. 'name' => null,
  40. 'ofType' =>
  41. [
  42. 'kind' => 'SCALAR',
  43. 'name' => 'Int',
  44. ]
  45. ],
  46. 'defaultValue' => null,
  47. ]
  48. ]
  49. ],
  50. [
  51. 'name' => 'urlResolver',
  52. 'args' =>
  53. [
  54. [
  55. 'name' => 'url',
  56. 'description' => '',
  57. 'type' =>
  58. [
  59. 'kind' => 'NON_NULL',
  60. 'name' => null,
  61. 'ofType' =>
  62. [
  63. 'kind' => 'SCALAR',
  64. 'name' => 'String',
  65. ]
  66. ],
  67. 'defaultValue' => null,
  68. ]
  69. ]
  70. ]
  71. ];