{"action":"closed","issue":{"url":"https://api.github.com/repos/apollostack/graphql-tools/issues/136","repository_url":"https://api.github.com/repos/apollostack/graphql-tools","labels_url":"https://api.github.com/repos/apollostack/graphql-tools/issues/136/labels{/name}","comments_url":"https://api.github.com/repos/apollostack/graphql-tools/issues/136/comments","events_url":"https://api.github.com/repos/apollostack/graphql-tools/issues/136/events","html_url":"https://github.com/apollostack/graphql-tools/issues/136","id":176317543,"number":136,"title":"Undefined calling in makeExecutableSchema?","user":{"login":"linonetwo","id":3746270,"avatar_url":"https://avatars.githubusercontent.com/u/3746270?v=3","gravatar_id":"","url":"https://api.github.com/users/linonetwo","html_url":"https://github.com/linonetwo","followers_url":"https://api.github.com/users/linonetwo/followers","following_url":"https://api.github.com/users/linonetwo/following{/other_user}","gists_url":"https://api.github.com/users/linonetwo/gists{/gist_id}","starred_url":"https://api.github.com/users/linonetwo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linonetwo/subscriptions","organizations_url":"https://api.github.com/users/linonetwo/orgs","repos_url":"https://api.github.com/users/linonetwo/repos","events_url":"https://api.github.com/users/linonetwo/events{/privacy}","received_events_url":"https://api.github.com/users/linonetwo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-09-12T08:13:50Z","updated_at":"2016-09-13T03:46:36Z","closed_at":"2016-09-13T03:46:36Z","body":"![_20160912160812](https://cloud.githubusercontent.com/assets/3746270/18428968/7d20cbd2-7903-11e6-9275-e26d0b226bc0.png)\r\n  \r\nI tried remove this function from:\r\n```\r\nconst executableSchema = makeExecutableSchema({\r\n  typeDefs,\r\n  resolvers,\r\n});\r\n\r\nclass REST2GraphQLInterface {\r\n  query({ query, variables }) {\r\n    return graphql(\r\n      executableSchema,\r\n      query,\r\n      undefined,\r\n      {\r\n        Config: new Config({ connector: new Power51Connector()})\r\n      },\r\n      variables\r\n    );\r\n  }\r\n}\r\n```\r\nto\r\n```\r\nconst executableSchema = {};\r\n\r\nconst serverConnector = new Power51Connector();\r\n\r\n\r\nclass REST2GraphQLInterface {\r\n  query({ query, variables }) {\r\n    return graphql(\r\n      executableSchema,\r\n      query,\r\n      undefined,\r\n      {\r\n        Config: new Config({ connector: new Power51Connector()})\r\n      },\r\n      variables\r\n    );\r\n  }\r\n}\r\n```\r\nThen the waring will disappear, but it will be useless."}}
{"actor":{"display_login":"linonetwo"}}