{"action":"created","issue":{"url":"https://api.github.com/repos/sitepoint/Container/issues/1","repository_url":"https://api.github.com/repos/sitepoint/Container","labels_url":"https://api.github.com/repos/sitepoint/Container/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/sitepoint/Container/issues/1/comments","events_url":"https://api.github.com/repos/sitepoint/Container/issues/1/events","html_url":"https://github.com/sitepoint/Container/pull/1","id":128392720,"number":1,"title":"Circular reference issue fix","user":{"login":"AndrewCarterUK","id":6486835,"avatar_url":"https://avatars.githubusercontent.com/u/6486835?v=3","gravatar_id":"","url":"https://api.github.com/users/AndrewCarterUK","html_url":"https://github.com/AndrewCarterUK","followers_url":"https://api.github.com/users/AndrewCarterUK/followers","following_url":"https://api.github.com/users/AndrewCarterUK/following{/other_user}","gists_url":"https://api.github.com/users/AndrewCarterUK/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewCarterUK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewCarterUK/subscriptions","organizations_url":"https://api.github.com/users/AndrewCarterUK/orgs","repos_url":"https://api.github.com/users/AndrewCarterUK/repos","events_url":"https://api.github.com/users/AndrewCarterUK/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewCarterUK/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sitepoint/Container/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-24T12:22:44Z","updated_at":"2016-02-17T14:43:50Z","closed_at":"2016-02-17T14:35:08Z","pull_request":{"url":"https://api.github.com/repos/sitepoint/Container/pulls/1","html_url":"https://github.com/sitepoint/Container/pull/1","diff_url":"https://github.com/sitepoint/Container/pull/1.diff","patch_url":"https://github.com/sitepoint/Container/pull/1.patch"},"body":"The first commit shows the failing test.\r\n\r\nPreviously the only protection against circular references was that the container detected if a service depended on itself. There was no protection for A depends on B and B also depends on A.\r\n\r\nThe fix for this is to add a 'lock' parameter that detected if the container was in the process of trying to make a service."},"comment":{"url":"https://api.github.com/repos/sitepoint/Container/issues/comments/185234700","html_url":"https://github.com/sitepoint/Container/pull/1#issuecomment-185234700","issue_url":"https://api.github.com/repos/sitepoint/Container/issues/1","id":185234700,"user":{"login":"AndrewCarterUK","id":6486835,"avatar_url":"https://avatars.githubusercontent.com/u/6486835?v=3","gravatar_id":"","url":"https://api.github.com/users/AndrewCarterUK","html_url":"https://github.com/AndrewCarterUK","followers_url":"https://api.github.com/users/AndrewCarterUK/followers","following_url":"https://api.github.com/users/AndrewCarterUK/following{/other_user}","gists_url":"https://api.github.com/users/AndrewCarterUK/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewCarterUK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewCarterUK/subscriptions","organizations_url":"https://api.github.com/users/AndrewCarterUK/orgs","repos_url":"https://api.github.com/users/AndrewCarterUK/repos","events_url":"https://api.github.com/users/AndrewCarterUK/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewCarterUK/received_events","type":"User","site_admin":false},"created_at":"2016-02-17T14:43:50Z","updated_at":"2016-02-17T14:43:50Z","body":"No worries!"}}