dappsnation / akita-ng-fire

Akita ❤️ Angular 🔥 Firebase
MIT License
131 stars 27 forks source link

AuthService onCreate doesn't pass ctx #148

Closed GrandSchtroumpf closed 3 years ago

GrandSchtroumpf commented 3 years ago

The method signup in AuthService doesn't provide the ctx reference to the onCreate : https://github.com/dappsnation/akita-ng-fire/blob/v3.0.0/projects/akita-ng-fire/src/lib/auth/auth.service.ts#L240

For consistency I think it should be there. It can be used if one wants to pass data of the user to be created.