{"action":"created","issue":{"url":"https://api.github.com/repos/ddeboer/data-import/issues/125","labels_url":"https://api.github.com/repos/ddeboer/data-import/issues/125/labels{/name}","comments_url":"https://api.github.com/repos/ddeboer/data-import/issues/125/comments","events_url":"https://api.github.com/repos/ddeboer/data-import/issues/125/events","html_url":"https://github.com/ddeboer/data-import/pull/125","id":47864135,"number":125,"title":"Introduce steps","user":{"login":"Baachi","id":833645,"avatar_url":"https://avatars.githubusercontent.com/u/833645?v=3","gravatar_id":"","url":"https://api.github.com/users/Baachi","html_url":"https://github.com/Baachi","followers_url":"https://api.github.com/users/Baachi/followers","following_url":"https://api.github.com/users/Baachi/following{/other_user}","gists_url":"https://api.github.com/users/Baachi/gists{/gist_id}","starred_url":"https://api.github.com/users/Baachi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Baachi/subscriptions","organizations_url":"https://api.github.com/users/Baachi/orgs","repos_url":"https://api.github.com/users/Baachi/repos","events_url":"https://api.github.com/users/Baachi/events{/privacy}","received_events_url":"https://api.github.com/users/Baachi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"Baachi","id":833645,"avatar_url":"https://avatars.githubusercontent.com/u/833645?v=3","gravatar_id":"","url":"https://api.github.com/users/Baachi","html_url":"https://github.com/Baachi","followers_url":"https://api.github.com/users/Baachi/followers","following_url":"https://api.github.com/users/Baachi/following{/other_user}","gists_url":"https://api.github.com/users/Baachi/gists{/gist_id}","starred_url":"https://api.github.com/users/Baachi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Baachi/subscriptions","organizations_url":"https://api.github.com/users/Baachi/orgs","repos_url":"https://api.github.com/users/Baachi/repos","events_url":"https://api.github.com/users/Baachi/events{/privacy}","received_events_url":"https://api.github.com/users/Baachi/received_events","type":"User","site_admin":false},"milestone":null,"comments":68,"created_at":"2014-11-05T17:31:40Z","updated_at":"2015-05-02T11:15:13Z","closed_at":"2015-05-02T11:14:49Z","pull_request":{"url":"https://api.github.com/repos/ddeboer/data-import/pulls/125","html_url":"https://github.com/ddeboer/data-import/pull/125","diff_url":"https://github.com/ddeboer/data-import/pull/125.diff","patch_url":"https://github.com/ddeboer/data-import/pull/125.patch"},"body":"Hey guys!\r\n\r\nThe current library is really cool but i think it is not really scalebale. If somone needs to filter before all validators are called and an another need the oposite. This make it really hard to use this library.\r\n\r\nMy idea was to introduce steps. Now the library has a `StepInterface` which can modifiy/validate/whatever the item. Now can each developer decide, how his workflow looks like. Just instantiate a `StepInterface` and add them to the `Workflow` object.\r\n\r\nI also added a `PriorityStepInterface`. This interface have a `getPriority` and with this method you can prioritize steps. Please note, that the developer can override the priority in the `addStep` method.\r\n\r\nI think this will make the library more generic and easier to use.\r\n\r\n> Please not, this is a __PoC__. Which means the code may not work and isn't finished yet.\r\n\r\nPlease provide Feedback!  "},"comment":{"url":"https://api.github.com/repos/ddeboer/data-import/issues/comments/98347995","html_url":"https://github.com/ddeboer/data-import/pull/125#issuecomment-98347995","issue_url":"https://api.github.com/repos/ddeboer/data-import/issues/125","id":98347995,"user":{"login":"ddeboer","id":89267,"avatar_url":"https://avatars.githubusercontent.com/u/89267?v=3","gravatar_id":"","url":"https://api.github.com/users/ddeboer","html_url":"https://github.com/ddeboer","followers_url":"https://api.github.com/users/ddeboer/followers","following_url":"https://api.github.com/users/ddeboer/following{/other_user}","gists_url":"https://api.github.com/users/ddeboer/gists{/gist_id}","starred_url":"https://api.github.com/users/ddeboer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddeboer/subscriptions","organizations_url":"https://api.github.com/users/ddeboer/orgs","repos_url":"https://api.github.com/users/ddeboer/repos","events_url":"https://api.github.com/users/ddeboer/events{/privacy}","received_events_url":"https://api.github.com/users/ddeboer/received_events","type":"User","site_admin":false},"created_at":"2015-05-02T11:15:13Z","updated_at":"2015-05-02T11:15:13Z","body":":fireworks: Great work, @Baachi and others that helped out! "}}