{"action":"created","issue":{"url":"https://api.github.com/repos/dimitrydhondt/sri4node/issues/27","labels_url":"https://api.github.com/repos/dimitrydhondt/sri4node/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/dimitrydhondt/sri4node/issues/27/comments","events_url":"https://api.github.com/repos/dimitrydhondt/sri4node/issues/27/events","html_url":"https://github.com/dimitrydhondt/sri4node/issues/27","id":102520243,"number":27,"title":"Fix DELETE operation","user":{"login":"dimitrydhondt","id":6338317,"avatar_url":"https://avatars.githubusercontent.com/u/6338317?v=3","gravatar_id":"","url":"https://api.github.com/users/dimitrydhondt","html_url":"https://github.com/dimitrydhondt","followers_url":"https://api.github.com/users/dimitrydhondt/followers","following_url":"https://api.github.com/users/dimitrydhondt/following{/other_user}","gists_url":"https://api.github.com/users/dimitrydhondt/gists{/gist_id}","starred_url":"https://api.github.com/users/dimitrydhondt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimitrydhondt/subscriptions","organizations_url":"https://api.github.com/users/dimitrydhondt/orgs","repos_url":"https://api.github.com/users/dimitrydhondt/repos","events_url":"https://api.github.com/users/dimitrydhondt/events{/privacy}","received_events_url":"https://api.github.com/users/dimitrydhondt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dimitrydhondt/sri4node/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/dimitrydhondt/sri4node/milestones/1","html_url":"https://github.com/dimitrydhondt/sri4node/milestones/1.2.0","labels_url":"https://api.github.com/repos/dimitrydhondt/sri4node/milestones/1/labels","id":1267425,"number":1,"title":"1.2.0","description":null,"creator":{"login":"rodrigouroz","id":384037,"avatar_url":"https://avatars.githubusercontent.com/u/384037?v=3","gravatar_id":"","url":"https://api.github.com/users/rodrigouroz","html_url":"https://github.com/rodrigouroz","followers_url":"https://api.github.com/users/rodrigouroz/followers","following_url":"https://api.github.com/users/rodrigouroz/following{/other_user}","gists_url":"https://api.github.com/users/rodrigouroz/gists{/gist_id}","starred_url":"https://api.github.com/users/rodrigouroz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodrigouroz/subscriptions","organizations_url":"https://api.github.com/users/rodrigouroz/orgs","repos_url":"https://api.github.com/users/rodrigouroz/repos","events_url":"https://api.github.com/users/rodrigouroz/events{/privacy}","received_events_url":"https://api.github.com/users/rodrigouroz/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2015-08-22T13:45:35Z","updated_at":"2015-08-22T13:45:35Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-08-22T09:13:53Z","updated_at":"2015-08-22T13:45:39Z","closed_at":null,"body":"Right now it issues a sql DELETE on the database. SRI specifies a mechanism of disabling the resource (and allows for retrieval of deleted items).\r\nA mandatory database column \"deleted\" must be added.\r\nBy default the query must also add in the WHERE clause 'WHERE deleted = false'\r\nThe deleted flag should appear in $$meta \"deleted: true\", when it is true"},"comment":{"url":"https://api.github.com/repos/dimitrydhondt/sri4node/issues/comments/133704963","html_url":"https://github.com/dimitrydhondt/sri4node/issues/27#issuecomment-133704963","issue_url":"https://api.github.com/repos/dimitrydhondt/sri4node/issues/27","id":133704963,"user":{"login":"rodrigouroz","id":384037,"avatar_url":"https://avatars.githubusercontent.com/u/384037?v=3","gravatar_id":"","url":"https://api.github.com/users/rodrigouroz","html_url":"https://github.com/rodrigouroz","followers_url":"https://api.github.com/users/rodrigouroz/followers","following_url":"https://api.github.com/users/rodrigouroz/following{/other_user}","gists_url":"https://api.github.com/users/rodrigouroz/gists{/gist_id}","starred_url":"https://api.github.com/users/rodrigouroz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodrigouroz/subscriptions","organizations_url":"https://api.github.com/users/rodrigouroz/orgs","repos_url":"https://api.github.com/users/rodrigouroz/repos","events_url":"https://api.github.com/users/rodrigouroz/events{/privacy}","received_events_url":"https://api.github.com/users/rodrigouroz/received_events","type":"User","site_admin":false},"created_at":"2015-08-22T13:45:39Z","updated_at":"2015-08-22T13:45:39Z","body":"This implies that the client of the module must have had defined the 'deleted' column.\r\n\r\nHow should the application behave if such column is not available? What kind of error should it generate?"}}