{"action":"created","issue":{"url":"https://api.github.com/repos/apotonick/pipetree/issues/1","repository_url":"https://api.github.com/repos/apotonick/pipetree","labels_url":"https://api.github.com/repos/apotonick/pipetree/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/apotonick/pipetree/issues/1/comments","events_url":"https://api.github.com/repos/apotonick/pipetree/issues/1/events","html_url":"https://github.com/apotonick/pipetree/issues/1","id":256331051,"number":1,"title":"Allow both name _and_ a proc for adding steps?","user":{"login":"mach-kernel","id":396039,"avatar_url":"https://avatars3.githubusercontent.com/u/396039?v=4","gravatar_id":"","url":"https://api.github.com/users/mach-kernel","html_url":"https://github.com/mach-kernel","followers_url":"https://api.github.com/users/mach-kernel/followers","following_url":"https://api.github.com/users/mach-kernel/following{/other_user}","gists_url":"https://api.github.com/users/mach-kernel/gists{/gist_id}","starred_url":"https://api.github.com/users/mach-kernel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mach-kernel/subscriptions","organizations_url":"https://api.github.com/users/mach-kernel/orgs","repos_url":"https://api.github.com/users/mach-kernel/repos","events_url":"https://api.github.com/users/mach-kernel/events{/privacy}","received_events_url":"https://api.github.com/users/mach-kernel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-09-08T18:09:55Z","updated_at":"2017-09-16T10:12:00Z","closed_at":null,"author_association":"NONE","body":"Hi there,\r\n\r\nI have a strange use-case. I am anonymously making Trailblazer operation classes, and would like to feed them anonymous curried lambdas. This seems fine on the surface, but it seems that [pipetree depends on source_location](https://github.com/apotonick/pipetree/blob/b4ad84f2ee4aa13aa03da34f59d8fcaa13a35cc9/lib/pipetree/inspect.rb#L28) so this fails, as it is `nil` for these blocks. It would seem like a rather easy fix to do something like allow both a name and a lambda to be passed instead of having one generated for you. I can elaborate more on use-case if desired. "},"comment":{"url":"https://api.github.com/repos/apotonick/pipetree/issues/comments/329959453","html_url":"https://github.com/apotonick/pipetree/issues/1#issuecomment-329959453","issue_url":"https://api.github.com/repos/apotonick/pipetree/issues/1","id":329959453,"user":{"login":"apotonick","id":10406,"avatar_url":"https://avatars2.githubusercontent.com/u/10406?v=4","gravatar_id":"","url":"https://api.github.com/users/apotonick","html_url":"https://github.com/apotonick","followers_url":"https://api.github.com/users/apotonick/followers","following_url":"https://api.github.com/users/apotonick/following{/other_user}","gists_url":"https://api.github.com/users/apotonick/gists{/gist_id}","starred_url":"https://api.github.com/users/apotonick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apotonick/subscriptions","organizations_url":"https://api.github.com/users/apotonick/orgs","repos_url":"https://api.github.com/users/apotonick/repos","events_url":"https://api.github.com/users/apotonick/events{/privacy}","received_events_url":"https://api.github.com/users/apotonick/received_events","type":"User","site_admin":false},"created_at":"2017-09-16T10:12:00Z","updated_at":"2017-09-16T10:12:00Z","author_association":"OWNER","body":"http://trailblazer.to/gems/operation/2.0/contract.html#dependency-injection :point_left: documents the DI for contracts."}}
{"actor":{"display_login":"apotonick"}}