{"action":"created","issue":{"url":"https://api.github.com/repos/keystonejs/keystone/issues/1336","labels_url":"https://api.github.com/repos/keystonejs/keystone/issues/1336/labels{/name}","comments_url":"https://api.github.com/repos/keystonejs/keystone/issues/1336/comments","events_url":"https://api.github.com/repos/keystonejs/keystone/issues/1336/events","html_url":"https://github.com/keystonejs/keystone/pull/1336","id":70562676,"number":1336,"title":"Add object array type","user":{"login":"sendyhalim","id":3948217,"avatar_url":"https://avatars.githubusercontent.com/u/3948217?v=3","gravatar_id":"","url":"https://api.github.com/users/sendyhalim","html_url":"https://github.com/sendyhalim","followers_url":"https://api.github.com/users/sendyhalim/followers","following_url":"https://api.github.com/users/sendyhalim/following{/other_user}","gists_url":"https://api.github.com/users/sendyhalim/gists{/gist_id}","starred_url":"https://api.github.com/users/sendyhalim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sendyhalim/subscriptions","organizations_url":"https://api.github.com/users/sendyhalim/orgs","repos_url":"https://api.github.com/users/sendyhalim/repos","events_url":"https://api.github.com/users/sendyhalim/events{/privacy}","received_events_url":"https://api.github.com/users/sendyhalim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-04-24T02:10:44Z","updated_at":"2015-10-12T04:09:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/keystonejs/keystone/pulls/1336","html_url":"https://github.com/keystonejs/keystone/pull/1336","diff_url":"https://github.com/keystonejs/keystone/pull/1336.diff","patch_url":"https://github.com/keystonejs/keystone/pull/1336.patch"},"body":"Add object array type, allows to define model property like this:\r\n\r\n```\r\n  customers: {\r\n    type: Types.ObjectArray,\r\n    parts: {\r\n      first_name: { label: 'First Name' },\r\n      last_name: { label: 'Last Name' },\r\n      phone: { label: 'Phone Number },\r\n      address: { label: 'Address' }\r\n    },\r\n    itemLabel: 'Customer'\r\n  }\r\n```\r\n\r\n- `itemLabel` is label for each item in `customers`\r\n- `label` is label for each property of `customer`"},"comment":{"url":"https://api.github.com/repos/keystonejs/keystone/issues/comments/147288557","html_url":"https://github.com/keystonejs/keystone/pull/1336#issuecomment-147288557","issue_url":"https://api.github.com/repos/keystonejs/keystone/issues/1336","id":147288557,"user":{"login":"sendyhalim","id":3948217,"avatar_url":"https://avatars.githubusercontent.com/u/3948217?v=3","gravatar_id":"","url":"https://api.github.com/users/sendyhalim","html_url":"https://github.com/sendyhalim","followers_url":"https://api.github.com/users/sendyhalim/followers","following_url":"https://api.github.com/users/sendyhalim/following{/other_user}","gists_url":"https://api.github.com/users/sendyhalim/gists{/gist_id}","starred_url":"https://api.github.com/users/sendyhalim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sendyhalim/subscriptions","organizations_url":"https://api.github.com/users/sendyhalim/orgs","repos_url":"https://api.github.com/users/sendyhalim/repos","events_url":"https://api.github.com/users/sendyhalim/events{/privacy}","received_events_url":"https://api.github.com/users/sendyhalim/received_events","type":"User","site_admin":false},"created_at":"2015-10-12T04:09:05Z","updated_at":"2015-10-12T04:09:05Z","body":"I just realized that the master branch is not stable yet and it's hard to test it manually, should I re-submit the pull request to branch 0.3.x? @morenoh149?"}}