{"action":"opened","issue":{"url":"https://api.github.com/repos/rightscale/praxis-blueprints/issues/12","labels_url":"https://api.github.com/repos/rightscale/praxis-blueprints/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/rightscale/praxis-blueprints/issues/12/comments","events_url":"https://api.github.com/repos/rightscale/praxis-blueprints/issues/12/events","html_url":"https://github.com/rightscale/praxis-blueprints/issues/12","id":65584600,"number":12,"title":"Support for inheritance in views to save typing","user":{"login":"justingaylor","id":635873,"avatar_url":"https://avatars.githubusercontent.com/u/635873?v=3","gravatar_id":"","url":"https://api.github.com/users/justingaylor","html_url":"https://github.com/justingaylor","followers_url":"https://api.github.com/users/justingaylor/followers","following_url":"https://api.github.com/users/justingaylor/following{/other_user}","gists_url":"https://api.github.com/users/justingaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/justingaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justingaylor/subscriptions","organizations_url":"https://api.github.com/users/justingaylor/orgs","repos_url":"https://api.github.com/users/justingaylor/repos","events_url":"https://api.github.com/users/justingaylor/events{/privacy}","received_events_url":"https://api.github.com/users/justingaylor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-01T01:56:27Z","updated_at":"2015-04-01T01:56:27Z","closed_at":null,"body":"Something like this seems like a good approach:\r\n```view :link do\r\n  attribute :id\r\n  attribute :name\r\n  attribute :href\r\nend\r\n\r\nview :default, inherit: :link do\r\n  attribute :foo\r\n  attribute :bar\r\nend\r\n\r\nview :extended, inherit: :default do\r\n  attribute :tags\r\nend\r\n```\r\n\r\nThen at least we only define an attribute once. (as long as views are incremental)"}}