{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/13878","labels_url":"https://api.github.com/repos/symfony/symfony/issues/13878/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/13878/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/13878/events","html_url":"https://github.com/symfony/symfony/pull/13878","id":60353028,"number":13878,"title":"[FrameworkBundle] \"mappings\" for validation","user":{"login":"davewwww","id":921303,"avatar_url":"https://avatars.githubusercontent.com/u/921303?v=3","gravatar_id":"","url":"https://api.github.com/users/davewwww","html_url":"https://github.com/davewwww","followers_url":"https://api.github.com/users/davewwww/followers","following_url":"https://api.github.com/users/davewwww/following{/other_user}","gists_url":"https://api.github.com/users/davewwww/gists{/gist_id}","starred_url":"https://api.github.com/users/davewwww/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davewwww/subscriptions","organizations_url":"https://api.github.com/users/davewwww/orgs","repos_url":"https://api.github.com/users/davewwww/repos","events_url":"https://api.github.com/users/davewwww/events{/privacy}","received_events_url":"https://api.github.com/users/davewwww/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/symfony/symfony/labels/Validator","name":"Validator","color":"DDDDDD"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-09T14:42:47Z","updated_at":"2015-09-03T07:02:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/symfony/symfony/pulls/13878","html_url":"https://github.com/symfony/symfony/pull/13878","diff_url":"https://github.com/symfony/symfony/pull/13878.diff","patch_url":"https://github.com/symfony/symfony/pull/13878.patch"},"body":"This feature allows you, to define additional validation files which are not in the 'Bundle*/Resources/config/' directory.\r\n\r\n\r\n```yaml\r\n#config.yml\r\nframework:\r\n  validation:\r\n    mappings:\r\n      -\r\n        file: \"path/to/file/validation.yml\"\r\n      -\r\n        file: \"path/to/another/file/validation.xml\"\r\n```\r\n\r\n| Q             | A\r\n| ------------- | ---\r\n| Bug fix?      | no\r\n| New feature?  | yes\r\n| BC breaks?    | no\r\n| Deprecations? | no\r\n| Tests pass?   | yes\r\n| Fixed tickets | \r\n| License       | MIT\r\n| Doc PR        | \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/symfony/symfony/issues/comments/137355937","html_url":"https://github.com/symfony/symfony/pull/13878#issuecomment-137355937","issue_url":"https://api.github.com/repos/symfony/symfony/issues/13878","id":137355937,"user":{"login":"ZeeCoder","id":3679506,"avatar_url":"https://avatars.githubusercontent.com/u/3679506?v=3","gravatar_id":"","url":"https://api.github.com/users/ZeeCoder","html_url":"https://github.com/ZeeCoder","followers_url":"https://api.github.com/users/ZeeCoder/followers","following_url":"https://api.github.com/users/ZeeCoder/following{/other_user}","gists_url":"https://api.github.com/users/ZeeCoder/gists{/gist_id}","starred_url":"https://api.github.com/users/ZeeCoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZeeCoder/subscriptions","organizations_url":"https://api.github.com/users/ZeeCoder/orgs","repos_url":"https://api.github.com/users/ZeeCoder/repos","events_url":"https://api.github.com/users/ZeeCoder/events{/privacy}","received_events_url":"https://api.github.com/users/ZeeCoder/received_events","type":"User","site_admin":false},"created_at":"2015-09-03T07:02:51Z","updated_at":"2015-09-03T07:02:51Z","body":"I would be glad to have a feature something like this.\r\nI like to separate my PHP code from basically everything else. (usually the yml conf files)\r\nRight now I have to have the Resources/config folder in my AppBundle just to load the validation rules from there.\r\n\r\nI would just drop that in the app/config folder, where all the other configurations reside already."}}