{"action":"closed","issue":{"url":"https://api.github.com/repos/AndrewJByrne/GoodAsOldPhones-Swift/issues/1","repository_url":"https://api.github.com/repos/AndrewJByrne/GoodAsOldPhones-Swift","labels_url":"https://api.github.com/repos/AndrewJByrne/GoodAsOldPhones-Swift/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/AndrewJByrne/GoodAsOldPhones-Swift/issues/1/comments","events_url":"https://api.github.com/repos/AndrewJByrne/GoodAsOldPhones-Swift/issues/1/events","html_url":"https://github.com/AndrewJByrne/GoodAsOldPhones-Swift/issues/1","id":138875780,"number":1,"title":"Store only relevant Product fields in cart","user":{"login":"AndrewJByrne","id":8550529,"avatar_url":"https://avatars.githubusercontent.com/u/8550529?v=3","gravatar_id":"","url":"https://api.github.com/users/AndrewJByrne","html_url":"https://github.com/AndrewJByrne","followers_url":"https://api.github.com/users/AndrewJByrne/followers","following_url":"https://api.github.com/users/AndrewJByrne/following{/other_user}","gists_url":"https://api.github.com/users/AndrewJByrne/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewJByrne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewJByrne/subscriptions","organizations_url":"https://api.github.com/users/AndrewJByrne/orgs","repos_url":"https://api.github.com/users/AndrewJByrne/repos","events_url":"https://api.github.com/users/AndrewJByrne/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewJByrne/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AndrewJByrne/GoodAsOldPhones-Swift/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-07T03:28:12Z","updated_at":"2016-03-07T07:08:42Z","closed_at":"2016-03-07T07:08:42Z","body":"Currently an Oder contains a product. This was done for simplicity. It would be nice to just store the properties of the product that are pertinent to the order itself - product name and price for example. The easiest way to achieve this is to remove the product filed and add productName and productPrice. Note that this will also impact how the Order is archived. "}}