Hi All,
I have a user object in firebase that I need to move to another child node on the same tree.
The structure is like so:
users -> male -> uid -> ......KVPs..object...etc
-> female -> uid -> ......KVPs..object...etc
I need to keep users seperated by gender due to the nature of the app.
If a user changes their gender I want to move all their details to that selected gender.
I tried using AngularFire (firebaseObject) but it throws errors when I tried to set it in firebase due to the keys $$conf present in the object. I tried striping out the keys, using JSON.stringify, anfular.toJSON but am not having any luck!!
I’m wondering is there a cleaner or recommended way to do this?
Appreciate If anyone has any pointers or can assist in anyway.
Many Thanks,
Noel