{"action":"created","issue":{"url":"https://api.github.com/repos/offirgolan/ember-cp-validations/issues/95","labels_url":"https://api.github.com/repos/offirgolan/ember-cp-validations/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/offirgolan/ember-cp-validations/issues/95/comments","events_url":"https://api.github.com/repos/offirgolan/ember-cp-validations/issues/95/events","html_url":"https://github.com/offirgolan/ember-cp-validations/issues/95","id":125181099,"number":95,"title":"stability of _type-field","user":{"login":"lindem","id":1142311,"avatar_url":"https://avatars.githubusercontent.com/u/1142311?v=3","gravatar_id":"","url":"https://api.github.com/users/lindem","html_url":"https://github.com/lindem","followers_url":"https://api.github.com/users/lindem/followers","following_url":"https://api.github.com/users/lindem/following{/other_user}","gists_url":"https://api.github.com/users/lindem/gists{/gist_id}","starred_url":"https://api.github.com/users/lindem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lindem/subscriptions","organizations_url":"https://api.github.com/users/lindem/orgs","repos_url":"https://api.github.com/users/lindem/repos","events_url":"https://api.github.com/users/lindem/events{/privacy}","received_events_url":"https://api.github.com/users/lindem/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-06T13:58:38Z","updated_at":"2016-01-14T19:57:46Z","closed_at":"2016-01-07T00:40:24Z","body":"I want to check for the type of a validator for a given attribute (to determine if there is a 'presence'-validation, to adapt css classes in a form for a given field, like, 'must be filled in'). Is it safe to use the `_type` field of a given validator for this purpose? The underscore hints at privateness or instability.\r\n\r\nHow likely is this to change? Is there a better way to check?  "},"comment":{"url":"https://api.github.com/repos/offirgolan/ember-cp-validations/issues/comments/171762395","html_url":"https://github.com/offirgolan/ember-cp-validations/issues/95#issuecomment-171762395","issue_url":"https://api.github.com/repos/offirgolan/ember-cp-validations/issues/95","id":171762395,"user":{"login":"offirgolan","id":575938,"avatar_url":"https://avatars.githubusercontent.com/u/575938?v=3","gravatar_id":"","url":"https://api.github.com/users/offirgolan","html_url":"https://github.com/offirgolan","followers_url":"https://api.github.com/users/offirgolan/followers","following_url":"https://api.github.com/users/offirgolan/following{/other_user}","gists_url":"https://api.github.com/users/offirgolan/gists{/gist_id}","starred_url":"https://api.github.com/users/offirgolan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/offirgolan/subscriptions","organizations_url":"https://api.github.com/users/offirgolan/orgs","repos_url":"https://api.github.com/users/offirgolan/repos","events_url":"https://api.github.com/users/offirgolan/events{/privacy}","received_events_url":"https://api.github.com/users/offirgolan/received_events","type":"User","site_admin":false},"created_at":"2016-01-14T19:57:46Z","updated_at":"2016-01-14T19:57:46Z","body":"I definitely think that using a container lookup is better than using the `_validators` object (thats what we do internally). I was hoping you can explain your use case a little better because Im not sure I follow"}}