{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet-architecture/eShopOnContainers/issues/499","repository_url":"https://api.github.com/repos/dotnet-architecture/eShopOnContainers","labels_url":"https://api.github.com/repos/dotnet-architecture/eShopOnContainers/issues/499/labels{/name}","comments_url":"https://api.github.com/repos/dotnet-architecture/eShopOnContainers/issues/499/comments","events_url":"https://api.github.com/repos/dotnet-architecture/eShopOnContainers/issues/499/events","html_url":"https://github.com/dotnet-architecture/eShopOnContainers/pull/499","id":293665906,"number":499,"title":"Parse error","user":{"login":"raboud","id":6482704,"avatar_url":"https://avatars1.githubusercontent.com/u/6482704?v=4","gravatar_id":"","url":"https://api.github.com/users/raboud","html_url":"https://github.com/raboud","followers_url":"https://api.github.com/users/raboud/followers","following_url":"https://api.github.com/users/raboud/following{/other_user}","gists_url":"https://api.github.com/users/raboud/gists{/gist_id}","starred_url":"https://api.github.com/users/raboud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raboud/subscriptions","organizations_url":"https://api.github.com/users/raboud/orgs","repos_url":"https://api.github.com/users/raboud/repos","events_url":"https://api.github.com/users/raboud/events{/privacy}","received_events_url":"https://api.github.com/users/raboud/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-02-01T20:06:06Z","updated_at":"2018-02-27T21:20:09Z","closed_at":"2018-02-27T21:19:41Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/dotnet-architecture/eShopOnContainers/pulls/499","html_url":"https://github.com/dotnet-architecture/eShopOnContainers/pull/499","diff_url":"https://github.com/dotnet-architecture/eShopOnContainers/pull/499.diff","patch_url":"https://github.com/dotnet-architecture/eShopOnContainers/pull/499.patch"},"body":"During at least one unit test, we get a basket with an item who's product it is 'productId' not a number.\r\n\r\nwhen a product price update event is sent to the basket service... there is a select that tries int.Parse on the basket item.ProductId thus throwing an exception.\r\n\r\nGut fee; would be to change the BasketItem.ProductID to an int to match everywhere else...gut feel this was done on purpose to show the Independence  of the Basket.API from the other APIs. \r\n\r\nSo i changed the product price update event to select on a string instead of an int...so it wont exception."},"comment":{"url":"https://api.github.com/repos/dotnet-architecture/eShopOnContainers/issues/comments/369029895","html_url":"https://github.com/dotnet-architecture/eShopOnContainers/pull/499#issuecomment-369029895","issue_url":"https://api.github.com/repos/dotnet-architecture/eShopOnContainers/issues/499","id":369029895,"user":{"login":"mvelosop","id":7357806,"avatar_url":"https://avatars2.githubusercontent.com/u/7357806?v=4","gravatar_id":"","url":"https://api.github.com/users/mvelosop","html_url":"https://github.com/mvelosop","followers_url":"https://api.github.com/users/mvelosop/followers","following_url":"https://api.github.com/users/mvelosop/following{/other_user}","gists_url":"https://api.github.com/users/mvelosop/gists{/gist_id}","starred_url":"https://api.github.com/users/mvelosop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvelosop/subscriptions","organizations_url":"https://api.github.com/users/mvelosop/orgs","repos_url":"https://api.github.com/users/mvelosop/repos","events_url":"https://api.github.com/users/mvelosop/events{/privacy}","received_events_url":"https://api.github.com/users/mvelosop/received_events","type":"User","site_admin":false},"created_at":"2018-02-27T21:20:09Z","updated_at":"2018-02-27T21:20:09Z","author_association":"COLLABORATOR","body":"Thanks @raboud!"}}
{"actor":{"display_login":"mvelosop"}}