{"push_id":1423714287,"size":2,"distinct_size":1,"ref":"refs/heads/feat/EffectsByPrefix","head":"f9de6453a3d96d8c6eb7acd6e3a5b664fbb7b7de","before":"c5ac6fd854b3ab9c2b876f2e00d8176a1f4dfaff","commits":[{"sha":"01813c869f742c7cfbac3c01565b86bc3284b822","author":{"name":"Mikkel Davis","email":"c313c8ee795397903dcbd0373037e1abd6870712@users.noreply.github.com"},"message":"docs(README): Remove unused lifecycle hook from intro example (#74)\n\nCloses #73","distinct":false,"url":"https://api.github.com/repos/dirand/effects/commits/01813c869f742c7cfbac3c01565b86bc3284b822"},{"sha":"f9de6453a3d96d8c6eb7acd6e3a5b664fbb7b7de","author":{"name":"Mikkel Davis","email":"c313c8ee795397903dcbd0373037e1abd6870712@users.noreply.github.com"},"message":"Now you can choose between `@Effect()` decorator and custom effect prefix in order to register your effects class. This also helps solve issue #71.\n\nYour root Module declaration:\n```ts\nimport { effectsConfig, EffectsConfiguration } from '@ngrx/effects';\n\n@NgModule({\n\tproviders: [\n\t\t{ provide: effectsConfig, useValue: <EffectsConfiguration>{ registerEffectWithPrefix: 'effect'}}\n\t]\n})\n```\n\nYour effects class:\n\ninsted of\n```ts\n@Injectable()\nexport class MyEffects {\n\t@Effect() login() {\n\t    return this.updates$.whenAction(...).mergeMap(...);\n\t}\n}\n```\n\nyou could use\n```ts\n@Injectable()\nexport class MyEffects {\n\teffectLogin() {\n\t    return this.updates$.whenAction(...).mergeMap(...);\n\t}\n}\n```","distinct":true,"url":"https://api.github.com/repos/dirand/effects/commits/f9de6453a3d96d8c6eb7acd6e3a5b664fbb7b7de"}]}
{"actor":{"display_login":"dirand"}}