{"action":"created","issue":{"url":"https://api.github.com/repos/Marak/faker.js/issues/646","repository_url":"https://api.github.com/repos/Marak/faker.js","labels_url":"https://api.github.com/repos/Marak/faker.js/issues/646/labels{/name}","comments_url":"https://api.github.com/repos/Marak/faker.js/issues/646/comments","events_url":"https://api.github.com/repos/Marak/faker.js/issues/646/events","html_url":"https://github.com/Marak/faker.js/issues/646","id":325274458,"number":646,"title":"Logically connected random data","user":{"login":"tobi-or-not-tobi","id":4745807,"avatar_url":"https://avatars3.githubusercontent.com/u/4745807?v=4","gravatar_id":"","url":"https://api.github.com/users/tobi-or-not-tobi","html_url":"https://github.com/tobi-or-not-tobi","followers_url":"https://api.github.com/users/tobi-or-not-tobi/followers","following_url":"https://api.github.com/users/tobi-or-not-tobi/following{/other_user}","gists_url":"https://api.github.com/users/tobi-or-not-tobi/gists{/gist_id}","starred_url":"https://api.github.com/users/tobi-or-not-tobi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobi-or-not-tobi/subscriptions","organizations_url":"https://api.github.com/users/tobi-or-not-tobi/orgs","repos_url":"https://api.github.com/users/tobi-or-not-tobi/repos","events_url":"https://api.github.com/users/tobi-or-not-tobi/events{/privacy}","received_events_url":"https://api.github.com/users/tobi-or-not-tobi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-22T12:37:01Z","updated_at":"2018-05-22T13:17:49Z","closed_at":null,"author_association":"NONE","body":"I'm using faker to generate random data for local development, great stuff. Some of the data that I generate is logically connected, like a currency isocode and symbol. \r\n\r\nI'm currently doing the following:\r\n```\r\n{\r\n  isocode: faker.finance.currencyCode(),\r\n  symbol: faker.finance.currencySymbol()\r\n}\r\n```\r\n\r\nWhich can result in an object with conficting values, such as: \r\n```\r\n{\r\n  isocode: 'USD',\r\n  symbol: '€'\r\n}\r\n```\r\n\r\nIt would be great to have support for random data for not just a single value, but for a whole object instead. \r\n\r\nSomething like:\r\n```\r\nconst finance = faker.finance();\r\n{\r\n    isocode: finance.currencyCode(),\r\n    symbol: finance.currencySymbol()\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/Marak/faker.js/issues/comments/390986150","html_url":"https://github.com/Marak/faker.js/issues/646#issuecomment-390986150","issue_url":"https://api.github.com/repos/Marak/faker.js/issues/646","id":390986150,"user":{"login":"tobi-or-not-tobi","id":4745807,"avatar_url":"https://avatars3.githubusercontent.com/u/4745807?v=4","gravatar_id":"","url":"https://api.github.com/users/tobi-or-not-tobi","html_url":"https://github.com/tobi-or-not-tobi","followers_url":"https://api.github.com/users/tobi-or-not-tobi/followers","following_url":"https://api.github.com/users/tobi-or-not-tobi/following{/other_user}","gists_url":"https://api.github.com/users/tobi-or-not-tobi/gists{/gist_id}","starred_url":"https://api.github.com/users/tobi-or-not-tobi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobi-or-not-tobi/subscriptions","organizations_url":"https://api.github.com/users/tobi-or-not-tobi/orgs","repos_url":"https://api.github.com/users/tobi-or-not-tobi/repos","events_url":"https://api.github.com/users/tobi-or-not-tobi/events{/privacy}","received_events_url":"https://api.github.com/users/tobi-or-not-tobi/received_events","type":"User","site_admin":false},"created_at":"2018-05-22T13:17:49Z","updated_at":"2018-05-22T13:17:49Z","author_association":"NONE","body":"@Marak I've updated the text a bit, but let me know if there's something unclear. "}}
{"actor":{"display_login":"tobi-or-not-tobi"}}