{"action":"created","issue":{"url":"https://api.github.com/repos/buschmais/jqassistant/issues/316","labels_url":"https://api.github.com/repos/buschmais/jqassistant/issues/316/labels{/name}","comments_url":"https://api.github.com/repos/buschmais/jqassistant/issues/316/comments","events_url":"https://api.github.com/repos/buschmais/jqassistant/issues/316/events","html_url":"https://github.com/buschmais/jqassistant/issues/316","id":120559640,"number":316,"title":"question about CDI constraints","user":{"login":"aklemp","id":9880351,"avatar_url":"https://avatars.githubusercontent.com/u/9880351?v=3","gravatar_id":"","url":"https://api.github.com/users/aklemp","html_url":"https://github.com/aklemp","followers_url":"https://api.github.com/users/aklemp/followers","following_url":"https://api.github.com/users/aklemp/following{/other_user}","gists_url":"https://api.github.com/users/aklemp/gists{/gist_id}","starred_url":"https://api.github.com/users/aklemp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aklemp/subscriptions","organizations_url":"https://api.github.com/users/aklemp/orgs","repos_url":"https://api.github.com/users/aklemp/repos","events_url":"https://api.github.com/users/aklemp/events{/privacy}","received_events_url":"https://api.github.com/users/aklemp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/buschmais/jqassistant/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-05T14:31:52Z","updated_at":"2015-12-09T07:56:02Z","closed_at":"2015-12-09T07:56:02Z","body":"Hi,\r\n\r\nthere are the constraints `cdi:BeansMustNotUseFieldInjection` and `cdi:BeansMustUseConstructorInjection`. The former is effectively contained in the latter. However, what is your rationale, disallowing field injection or even allowing only constructor injection? I see that setter methods can implement some logic on injection and constructor injection allows immutable classes. From my experience, injection is mostly used for glueing things together without any specific logic. Are there other advantages that I'm not aware of?\r\n\r\nKind regards,\r\n  aklemp"},"comment":{"url":"https://api.github.com/repos/buschmais/jqassistant/issues/comments/163144278","html_url":"https://github.com/buschmais/jqassistant/issues/316#issuecomment-163144278","issue_url":"https://api.github.com/repos/buschmais/jqassistant/issues/316","id":163144278,"user":{"login":"aklemp","id":9880351,"avatar_url":"https://avatars.githubusercontent.com/u/9880351?v=3","gravatar_id":"","url":"https://api.github.com/users/aklemp","html_url":"https://github.com/aklemp","followers_url":"https://api.github.com/users/aklemp/followers","following_url":"https://api.github.com/users/aklemp/following{/other_user}","gists_url":"https://api.github.com/users/aklemp/gists{/gist_id}","starred_url":"https://api.github.com/users/aklemp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aklemp/subscriptions","organizations_url":"https://api.github.com/users/aklemp/orgs","repos_url":"https://api.github.com/users/aklemp/repos","events_url":"https://api.github.com/users/aklemp/events{/privacy}","received_events_url":"https://api.github.com/users/aklemp/received_events","type":"User","site_admin":false},"created_at":"2015-12-09T07:56:02Z","updated_at":"2015-12-09T07:56:02Z","body":"Thank you for the links."}}