emberfire icon indicating copy to clipboard operation
emberfire copied to clipboard

Implemented hasMany (many to many) relationships in RealtimeDatabase

Open mohitsud opened this issue 5 years ago • 5 comments

Description

In emberfire 3.x, if you are using the Realtime Database you will notice that hasMany relationships do not work. They always return undefined. This is because hasMany relationships were simply not handled in the real time database serializer. This PR simply adds that functionality in.

A lot of the code was ported from the Firestore serializer.

mohitsud avatar Sep 23 '20 05:09 mohitsud

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

googlebot avatar Sep 23 '20 05:09 googlebot

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

googlebot avatar Sep 23 '20 05:09 googlebot

@googlebot I signed it!

mohitsud avatar Sep 23 '20 05:09 mohitsud

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

googlebot avatar Sep 23 '20 05:09 googlebot

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

googlebot avatar Sep 23 '20 05:09 googlebot