{"action":"opened","issue":{"url":"https://api.github.com/repos/cucumber/cucumber/issues/57","repository_url":"https://api.github.com/repos/cucumber/cucumber","labels_url":"https://api.github.com/repos/cucumber/cucumber/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/cucumber/cucumber/issues/57/comments","events_url":"https://api.github.com/repos/cucumber/cucumber/issues/57/events","html_url":"https://github.com/cucumber/cucumber/issues/57","id":169632794,"number":57,"title":"Multi-parameter transforms","user":{"login":"aslakhellesoy","id":1000,"avatar_url":"https://avatars.githubusercontent.com/u/1000?v=3","gravatar_id":"","url":"https://api.github.com/users/aslakhellesoy","html_url":"https://github.com/aslakhellesoy","followers_url":"https://api.github.com/users/aslakhellesoy/followers","following_url":"https://api.github.com/users/aslakhellesoy/following{/other_user}","gists_url":"https://api.github.com/users/aslakhellesoy/gists{/gist_id}","starred_url":"https://api.github.com/users/aslakhellesoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aslakhellesoy/subscriptions","organizations_url":"https://api.github.com/users/aslakhellesoy/orgs","repos_url":"https://api.github.com/users/aslakhellesoy/repos","events_url":"https://api.github.com/users/aslakhellesoy/events{/privacy}","received_events_url":"https://api.github.com/users/aslakhellesoy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cucumber/cucumber/labels/cucumber-expressions","name":"cucumber-expressions","color":"bfdadc"},{"url":"https://api.github.com/repos/cucumber/cucumber/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/cucumber/cucumber/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-05T15:26:02Z","updated_at":"2016-08-05T15:26:02Z","closed_at":null,"body":"<!-- These sections are meant as guidance for you, to help you give the kind of information we'll need to help with your issue. If a section  doesn't seem to fit, just skip it.\r\n\r\nIn general: Please provide as much information as you can to help us solving your problem -->\r\n\r\n## Summary\r\n\r\nConsider this step:\r\n\r\n```gherkin\r\nGiven I fly the route between LHR and CDG\r\n```\r\n\r\nI want a `Route` value object that's composed of those two. I can see how `I fly the route between {origin:airport} and {destination:airport}` would work, but I want my step to receive a Route VO composed of two Airport VOs\r\n\r\n## Possible Solution\r\n\r\n(Example in Ruby):\r\n\r\n```ruby\r\n@transform_lookup.add_transform(Transform.new(\r\n  'route',\r\n  Route,\r\n  '([A-Z]{3}).*([A-Z]{3})',\r\n  lambda { |from, to| Route.new(Airport.new(from), Airport.new(to)) }\r\n))\r\n```\r\n"}}
{"actor":{"display_login":"aslakhellesoy"}}