{"action":"created","issue":{"url":"https://api.github.com/repos/strongloop/loopback/issues/898","labels_url":"https://api.github.com/repos/strongloop/loopback/issues/898/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/loopback/issues/898/comments","events_url":"https://api.github.com/repos/strongloop/loopback/issues/898/events","html_url":"https://github.com/strongloop/loopback/issues/898","id":50996093,"number":898,"title":"Per-method validation rules","user":{"login":"cajoy","id":1035148,"avatar_url":"https://avatars.githubusercontent.com/u/1035148?v=3","gravatar_id":"","url":"https://api.github.com/users/cajoy","html_url":"https://github.com/cajoy","followers_url":"https://api.github.com/users/cajoy/followers","following_url":"https://api.github.com/users/cajoy/following{/other_user}","gists_url":"https://api.github.com/users/cajoy/gists{/gist_id}","starred_url":"https://api.github.com/users/cajoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cajoy/subscriptions","organizations_url":"https://api.github.com/users/cajoy/orgs","repos_url":"https://api.github.com/users/cajoy/repos","events_url":"https://api.github.com/users/cajoy/events{/privacy}","received_events_url":"https://api.github.com/users/cajoy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/strongloop/loopback/labels/feature","name":"feature","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-12-04T16:27:35Z","updated_at":"2015-01-29T21:20:35Z","closed_at":null,"body":"Can I have different subset of validation rules for different methods?\r\n\r\nI mean for /create one set of rules\r\nfor   /update  different set of rules.\r\n\r\nor\r\n\r\nisValid() would be able to use defined set of rules. So if I create custom remote method I can apply different validations to it.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/strongloop/loopback/issues/comments/72106344","html_url":"https://github.com/strongloop/loopback/issues/898#issuecomment-72106344","issue_url":"https://api.github.com/repos/strongloop/loopback/issues/898","id":72106344,"user":{"login":"j0nathan-ll0yd","id":341230,"avatar_url":"https://avatars.githubusercontent.com/u/341230?v=3","gravatar_id":"","url":"https://api.github.com/users/j0nathan-ll0yd","html_url":"https://github.com/j0nathan-ll0yd","followers_url":"https://api.github.com/users/j0nathan-ll0yd/followers","following_url":"https://api.github.com/users/j0nathan-ll0yd/following{/other_user}","gists_url":"https://api.github.com/users/j0nathan-ll0yd/gists{/gist_id}","starred_url":"https://api.github.com/users/j0nathan-ll0yd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j0nathan-ll0yd/subscriptions","organizations_url":"https://api.github.com/users/j0nathan-ll0yd/orgs","repos_url":"https://api.github.com/users/j0nathan-ll0yd/repos","events_url":"https://api.github.com/users/j0nathan-ll0yd/events{/privacy}","received_events_url":"https://api.github.com/users/j0nathan-ll0yd/received_events","type":"User","site_admin":false},"created_at":"2015-01-29T21:20:35Z","updated_at":"2015-01-29T21:20:35Z","body":"+1"}}