Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement testing / the Firebase dilemma #21

Open
michaelyfan opened this issue Jul 24, 2020 · 2 comments
Open

Implement testing / the Firebase dilemma #21

michaelyfan opened this issue Jul 24, 2020 · 2 comments

Comments

@michaelyfan
Copy link
Member

The app is currently connected to two Firebase apps at once. This is something that our Angular/Firebase dependency, AngularFire, doesn't really have a standardized/"official" way to do, so I've been using the community-suggested workaround here: angular/angularfire#1026 (comment)

But it causes some errors with testing, as well as some more high-level worries, see here: angular/angularfire#2555

It * works * but may not be sustainable, since the solution smells janky. Will try to get AngularFire's attention first

@michaelyfan
Copy link
Member Author

michaelyfan commented Jul 25, 2020

Potential solutions:

angular/angularfire#1240 (comment)
Though it seems this doesn't work according to comments

https://stackoverflow.com/questions/50473945/angular2firebase-multiple-instances-using-angular-6/50476192#50476192
This might be bingo
"James Daniels" is the dude who regularly contributes to angularfire

@michaelyfan michaelyfan changed the title The Firebase dilemma Implement testing / the Firebase dilemma Jul 27, 2020
@michaelyfan
Copy link
Member Author

May be resolved by #23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant