{"action":"created","issue":{"url":"https://api.github.com/repos/sebastian-software/edge/issues/24","repository_url":"https://api.github.com/repos/sebastian-software/edge","labels_url":"https://api.github.com/repos/sebastian-software/edge/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/sebastian-software/edge/issues/24/comments","events_url":"https://api.github.com/repos/sebastian-software/edge/issues/24/events","html_url":"https://github.com/sebastian-software/edge/issues/24","id":297362615,"number":24,"title":"Reload Browser on route which is using GraphQL creates an exception on the server","user":{"login":"JuergenWerle","id":36485364,"avatar_url":"https://avatars1.githubusercontent.com/u/36485364?v=4","gravatar_id":"","url":"https://api.github.com/users/JuergenWerle","html_url":"https://github.com/JuergenWerle","followers_url":"https://api.github.com/users/JuergenWerle/followers","following_url":"https://api.github.com/users/JuergenWerle/following{/other_user}","gists_url":"https://api.github.com/users/JuergenWerle/gists{/gist_id}","starred_url":"https://api.github.com/users/JuergenWerle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuergenWerle/subscriptions","organizations_url":"https://api.github.com/users/JuergenWerle/orgs","repos_url":"https://api.github.com/users/JuergenWerle/repos","events_url":"https://api.github.com/users/JuergenWerle/events{/privacy}","received_events_url":"https://api.github.com/users/JuergenWerle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-15T08:27:05Z","updated_at":"2018-02-15T12:44:02Z","closed_at":null,"author_association":"NONE","body":"Hi, nice work, greetings from SYZYGY :) \r\nI have just evaluated the edge platform for a project. I have added a route which is using GraphQL in the view. When reloading the browser with this route the server throws an exception. I have found out that the deepFetch.js in the edge-core has the problem:\r\n\r\n...\r\nif (instance && typeof instance.fetchData === \"function\") {\r\n   return instance.fetchData()\r\n}\r\n...\r\n\r\nThis assumes the instance to return a promise but graphql-wrapper has also function named fetchData which is not returning a promise. \r\n"},"comment":{"url":"https://api.github.com/repos/sebastian-software/edge/issues/comments/365916574","html_url":"https://github.com/sebastian-software/edge/issues/24#issuecomment-365916574","issue_url":"https://api.github.com/repos/sebastian-software/edge/issues/24","id":365916574,"user":{"login":"swernerx","id":145201,"avatar_url":"https://avatars0.githubusercontent.com/u/145201?v=4","gravatar_id":"","url":"https://api.github.com/users/swernerx","html_url":"https://github.com/swernerx","followers_url":"https://api.github.com/users/swernerx/followers","following_url":"https://api.github.com/users/swernerx/following{/other_user}","gists_url":"https://api.github.com/users/swernerx/gists{/gist_id}","starred_url":"https://api.github.com/users/swernerx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swernerx/subscriptions","organizations_url":"https://api.github.com/users/swernerx/orgs","repos_url":"https://api.github.com/users/swernerx/repos","events_url":"https://api.github.com/users/swernerx/events{/privacy}","received_events_url":"https://api.github.com/users/swernerx/received_events","type":"User","site_admin":false},"created_at":"2018-02-15T12:44:02Z","updated_at":"2018-02-15T12:44:02Z","author_association":"OWNER","body":"Hi Jürgen, thanks for getting in contact. :)\r\n\r\nIt would be helpful to have a small app project which demonstrate this issue. It's a little inconvenient to change code without seeing such an issue."}}
{"actor":{"display_login":"swernerx"}}