{"action":"created","issue":{"url":"https://api.github.com/repos/joel-costigliola/assertj/issues/48","repository_url":"https://api.github.com/repos/joel-costigliola/assertj","labels_url":"https://api.github.com/repos/joel-costigliola/assertj/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/joel-costigliola/assertj/issues/48/comments","events_url":"https://api.github.com/repos/joel-costigliola/assertj/issues/48/events","html_url":"https://github.com/joel-costigliola/assertj/issues/48","id":148645135,"number":48,"title":"Improved Java 8 stream support for flatExtracting?","user":{"login":"GoGoris","id":2930063,"avatar_url":"https://avatars.githubusercontent.com/u/2930063?v=3","gravatar_id":"","url":"https://api.github.com/users/GoGoris","html_url":"https://github.com/GoGoris","followers_url":"https://api.github.com/users/GoGoris/followers","following_url":"https://api.github.com/users/GoGoris/following{/other_user}","gists_url":"https://api.github.com/users/GoGoris/gists{/gist_id}","starred_url":"https://api.github.com/users/GoGoris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoGoris/subscriptions","organizations_url":"https://api.github.com/users/GoGoris/orgs","repos_url":"https://api.github.com/users/GoGoris/repos","events_url":"https://api.github.com/users/GoGoris/events{/privacy}","received_events_url":"https://api.github.com/users/GoGoris/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-15T12:14:41Z","updated_at":"2016-04-15T16:34:54Z","closed_at":null,"body":"Hi, at the moment I have this: \r\n```java\r\n        assertThat(response.getSteps()).flatExtracting(input ->\r\n                asList(input.getPeriod(),\r\n                        input.getAmount(),\r\n                        input.getNr())\r\n        ).doesNotContain(0);\r\n```\r\nWould it be possible to support the following notations?\r\nLike extracting():\r\n```java\r\n.flatExtracting(\r\n                Step::getPeriod,\r\n                Step::getAmount,\r\n                Step::getNr\r\n        )\r\n```\r\nOr accept a stream like flatMap()?\r\n```java\r\n.flatExtracting(\r\n        Stream.of(input.getPeriod(),\r\n                        input.getAmount(),\r\n                        input.getNr())\r\n        )\r\n```"},"comment":{"url":"https://api.github.com/repos/joel-costigliola/assertj/issues/comments/210534702","html_url":"https://github.com/joel-costigliola/assertj/issues/48#issuecomment-210534702","issue_url":"https://api.github.com/repos/joel-costigliola/assertj/issues/48","id":210534702,"user":{"login":"PascalSchumacher","id":2707245,"avatar_url":"https://avatars.githubusercontent.com/u/2707245?v=3","gravatar_id":"","url":"https://api.github.com/users/PascalSchumacher","html_url":"https://github.com/PascalSchumacher","followers_url":"https://api.github.com/users/PascalSchumacher/followers","following_url":"https://api.github.com/users/PascalSchumacher/following{/other_user}","gists_url":"https://api.github.com/users/PascalSchumacher/gists{/gist_id}","starred_url":"https://api.github.com/users/PascalSchumacher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PascalSchumacher/subscriptions","organizations_url":"https://api.github.com/users/PascalSchumacher/orgs","repos_url":"https://api.github.com/users/PascalSchumacher/repos","events_url":"https://api.github.com/users/PascalSchumacher/events{/privacy}","received_events_url":"https://api.github.com/users/PascalSchumacher/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T16:34:54Z","updated_at":"2016-04-15T16:34:54Z","body":"`#extracting` supports multiple `Extractor` parameters. So I think assertj should support the `#flatExtracting(Step::getPeriod, Step::getAmount, Step::getNr)` notation.\r\n\r\nI tried to create a pull request with this features, but I could not figure out the correct generic signatures. ;("}}