{"push_id":1423700728,"size":1,"distinct_size":1,"ref":"refs/heads/feat/EffectsByPrefix","head":"4d79e786f04dc90d0760faca17f3d6e9fa6ba431","before":"e1a6ec0c4fe442eda51ed93f33c04b909fa35fe8","commits":[{"sha":"4d79e786f04dc90d0760faca17f3d6e9fa6ba431","author":{"name":"Andrius Dirvanauskas","email":"a46998b0b8da1bfb9915a608af880075c963865e@mosoft.net"},"message":"feat(Effect): Support effect resolving by predefined prefix\n\nNow you can choose between `@Effect()` decorator and custom effect prefix in order to register your effects class. This change also 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>{ getEffectsByPrefix: '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/4d79e786f04dc90d0760faca17f3d6e9fa6ba431"}]}
{"actor":{"display_login":"dirand"}}