{"action":"created","issue":{"url":"https://api.github.com/repos/WP-API/WP-API/issues/2850","repository_url":"https://api.github.com/repos/WP-API/WP-API","labels_url":"https://api.github.com/repos/WP-API/WP-API/issues/2850/labels{/name}","comments_url":"https://api.github.com/repos/WP-API/WP-API/issues/2850/comments","events_url":"https://api.github.com/repos/WP-API/WP-API/issues/2850/events","html_url":"https://github.com/WP-API/WP-API/pull/2850","id":183489582,"number":2850,"title":"Only allow custom meta of types string, number and boolean","user":{"login":"joehoyle","id":161683,"avatar_url":"https://avatars.githubusercontent.com/u/161683?v=3","gravatar_id":"","url":"https://api.github.com/users/joehoyle","html_url":"https://github.com/joehoyle","followers_url":"https://api.github.com/users/joehoyle/followers","following_url":"https://api.github.com/users/joehoyle/following{/other_user}","gists_url":"https://api.github.com/users/joehoyle/gists{/gist_id}","starred_url":"https://api.github.com/users/joehoyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joehoyle/subscriptions","organizations_url":"https://api.github.com/users/joehoyle/orgs","repos_url":"https://api.github.com/users/joehoyle/repos","events_url":"https://api.github.com/users/joehoyle/events{/privacy}","received_events_url":"https://api.github.com/users/joehoyle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-17T18:21:55Z","updated_at":"2016-10-17T18:40:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/WP-API/WP-API/pulls/2850","html_url":"https://github.com/WP-API/WP-API/pull/2850","diff_url":"https://github.com/WP-API/WP-API/pull/2850.diff","patch_url":"https://github.com/WP-API/WP-API/pull/2850.patch"},"body":"Currently we handle registering meta even if your register the type as\nanything other than `boolean` `number` and `string`, however we don't\ncurrently have great ways to handle non-scaler meta. For now, let's\nwhitelist these types and throw a `doing_it_wrong` if meta is registered\nwith an invalid type."},"comment":{"url":"https://api.github.com/repos/WP-API/WP-API/issues/comments/254295273","html_url":"https://github.com/WP-API/WP-API/pull/2850#issuecomment-254295273","issue_url":"https://api.github.com/repos/WP-API/WP-API/issues/2850","id":254295273,"user":{"login":"kadamwhite","id":442115,"avatar_url":"https://avatars.githubusercontent.com/u/442115?v=3","gravatar_id":"","url":"https://api.github.com/users/kadamwhite","html_url":"https://github.com/kadamwhite","followers_url":"https://api.github.com/users/kadamwhite/followers","following_url":"https://api.github.com/users/kadamwhite/following{/other_user}","gists_url":"https://api.github.com/users/kadamwhite/gists{/gist_id}","starred_url":"https://api.github.com/users/kadamwhite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kadamwhite/subscriptions","organizations_url":"https://api.github.com/users/kadamwhite/orgs","repos_url":"https://api.github.com/users/kadamwhite/repos","events_url":"https://api.github.com/users/kadamwhite/events{/privacy}","received_events_url":"https://api.github.com/users/kadamwhite/received_events","type":"User","site_admin":false},"created_at":"2016-10-17T18:40:42Z","updated_at":"2016-10-17T18:40:42Z","body":"How do we handle namespacing of objects in meta? e.g., if I'm an seo plugin and I have a \"score\" meta value, but there's also a keyword-bingo plugin that also has a \"score,\" and I only have a numeric meta field to put them in -- not an object -- how do I ensure there won't be a conflict?"}}
{"actor":{"display_login":"kadamwhite"}}