packages feed

morpheus-graphql-0.12.0: test/Feature/Holistic/introspection/interface/response.json

{
  "data": {
    "person": { "name": "test Person Name" },
    "interface": {
      "kind": "INTERFACE",
      "name": "Person",
      "fields": [
        {
          "name": "name",
          "args": [],
          "type": { "kind": "SCALAR", "name": "String", "ofType": null },
          "isDeprecated": false,
          "deprecationReason": null
        }
      ],
      "inputFields": null,
      "interfaces": null,
      "enumValues": null,
      "possibleTypes": [{ "kind": "OBJECT", "name": "User", "ofType": null }]
    },
    "user": {
      "kind": "OBJECT",
      "name": "User",
      "fields": [
        {
          "name": "name",
          "args": [],
          "type": {
            "kind": "NON_NULL",
            "name": null,
            "ofType": { "kind": "SCALAR", "name": "String", "ofType": null }
          },
          "isDeprecated": false,
          "deprecationReason": null
        },
        {
          "name": "email",
          "args": [],
          "type": {
            "kind": "NON_NULL",
            "name": null,
            "ofType": { "kind": "SCALAR", "name": "String", "ofType": null }
          },
          "isDeprecated": false,
          "deprecationReason": null
        },
        {
          "name": "address",
          "args": [
            {
              "name": "coordinates",
              "type": {
                "kind": "NON_NULL",
                "name": null,
                "ofType": {
                  "kind": "INPUT_OBJECT",
                  "name": "Coordinates",
                  "ofType": null
                }
              },
              "defaultValue": null
            },
            {
              "name": "comment",
              "type": { "kind": "SCALAR", "name": "String", "ofType": null },
              "defaultValue": null
            }
          ],
          "type": {
            "kind": "NON_NULL",
            "name": null,
            "ofType": { "kind": "OBJECT", "name": "Address", "ofType": null }
          },
          "isDeprecated": false,
          "deprecationReason": null
        },
        {
          "name": "office",
          "args": [
            {
              "name": "zipCode",
              "type": {
                "kind": "LIST",
                "name": null,
                "ofType": {
                  "kind": "NON_NULL",
                  "name": null,
                  "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null }
                }
              },
              "defaultValue": null
            },
            {
              "name": "cityID",
              "type": {
                "kind": "NON_NULL",
                "name": null,
                "ofType": { "kind": "ENUM", "name": "TestEnum", "ofType": null }
              },
              "defaultValue": null
            }
          ],
          "type": {
            "kind": "NON_NULL",
            "name": null,
            "ofType": { "kind": "OBJECT", "name": "Address", "ofType": null }
          },
          "isDeprecated": false,
          "deprecationReason": null
        },
        {
          "name": "friend",
          "args": [],
          "type": { "kind": "OBJECT", "name": "User", "ofType": null },
          "isDeprecated": false,
          "deprecationReason": null
        }
      ],
      "inputFields": null,
      "interfaces": [{ "kind": "INTERFACE", "name": "Person", "ofType": null }],
      "enumValues": null,
      "possibleTypes": null
    }
  }
}