{"action":"opened","issue":{"url":"https://api.github.com/repos/maticzav/graphql-shield/issues/151","repository_url":"https://api.github.com/repos/maticzav/graphql-shield","labels_url":"https://api.github.com/repos/maticzav/graphql-shield/issues/151/labels{/name}","comments_url":"https://api.github.com/repos/maticzav/graphql-shield/issues/151/comments","events_url":"https://api.github.com/repos/maticzav/graphql-shield/issues/151/events","html_url":"https://github.com/maticzav/graphql-shield/issues/151","id":360982634,"node_id":"MDU6SXNzdWUzNjA5ODI2MzQ=","number":151,"title":"Types of property 'middlewares' are incompatible.","user":{"login":"artemzakharov","id":25446299,"node_id":"MDQ6VXNlcjI1NDQ2Mjk5","avatar_url":"https://avatars0.githubusercontent.com/u/25446299?v=4","gravatar_id":"","url":"https://api.github.com/users/artemzakharov","html_url":"https://github.com/artemzakharov","followers_url":"https://api.github.com/users/artemzakharov/followers","following_url":"https://api.github.com/users/artemzakharov/following{/other_user}","gists_url":"https://api.github.com/users/artemzakharov/gists{/gist_id}","starred_url":"https://api.github.com/users/artemzakharov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artemzakharov/subscriptions","organizations_url":"https://api.github.com/users/artemzakharov/orgs","repos_url":"https://api.github.com/users/artemzakharov/repos","events_url":"https://api.github.com/users/artemzakharov/events{/privacy}","received_events_url":"https://api.github.com/users/artemzakharov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-17T18:10:43Z","updated_at":"2018-09-17T18:10:43Z","closed_at":null,"author_association":"NONE","body":"# Bug report\r\n\r\n* [Yes] I have checked other issues to make sure this is not a duplicate.\r\n\r\n## Describe the bug\r\n\r\nWhen using the most current versions of the `graphql-yoga` and `graphl-shield` libraries, trying to add `shield({ ... })` to the `middlewares` option of the server creates this error:\r\n\r\n![image](https://user-images.githubusercontent.com/25446299/45641320-005a0780-ba6a-11e8-87e8-fd19b452f5a8.png)\r\n\r\n(it keeps going for quite a while, just didn't want to copy and paste five dozen lines)\r\n\r\n## To Reproduce\r\n\r\nCopy and paste the Graphql Yoga example file. No changes are necessary for the error to pop up.\r\n\r\n## Additional context\r\n\r\n`graphql-yoga` version: `1.16.2`\r\n`graphql-shield` version: `3.2.2`\r\n"}}
{"actor":{"display_login":"artemzakharov"}}