{"action":"opened","issue":{"url":"https://api.github.com/repos/Polymer/polymer/issues/2598","labels_url":"https://api.github.com/repos/Polymer/polymer/issues/2598/labels{/name}","comments_url":"https://api.github.com/repos/Polymer/polymer/issues/2598/comments","events_url":"https://api.github.com/repos/Polymer/polymer/issues/2598/events","html_url":"https://github.com/Polymer/polymer/issues/2598","id":112176177,"number":2598,"title":"Property Validations","user":{"login":"BLamy","id":324928,"avatar_url":"https://avatars.githubusercontent.com/u/324928?v=3","gravatar_id":"","url":"https://api.github.com/users/BLamy","html_url":"https://github.com/BLamy","followers_url":"https://api.github.com/users/BLamy/followers","following_url":"https://api.github.com/users/BLamy/following{/other_user}","gists_url":"https://api.github.com/users/BLamy/gists{/gist_id}","starred_url":"https://api.github.com/users/BLamy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BLamy/subscriptions","organizations_url":"https://api.github.com/users/BLamy/orgs","repos_url":"https://api.github.com/users/BLamy/repos","events_url":"https://api.github.com/users/BLamy/events{/privacy}","received_events_url":"https://api.github.com/users/BLamy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-19T16:00:12Z","updated_at":"2015-10-19T16:00:12Z","closed_at":null,"body":"I'd like to see a more strict system behind Property types. I understand that polymer encompasses all primitives as well as the catch all 'Object' type. \r\n\r\nHowever, what i've been finding is that I make a good percentage of my types Objects. I would love if I could create my own validation which allow me to create more complex types\r\n\r\nA really good example of this being done can be seen in the sails.js docs:\r\nhttp://sailsjs.org/documentation/concepts/models-and-orm/validations\r\n\r\n"}}