GitLiveApp / firebase-kotlin-sdk

A Kotlin-first SDK for Firebase
https://gitliveapp.github.io/firebase-kotlin-sdk/
Apache License 2.0
1.17k stars 155 forks source link

@IgnoreExtraProperties Annotation support. #435

Open 0ximDigital opened 1 year ago

0ximDigital commented 1 year ago

Hi!

I am wondering if there is support for @IgnoreExtraProperties within the common module. And if not, what would be a recommended way to use this Firebase Database feature within a shared codebase?

Happy to contribute with the support if it is not already in there.

murfel commented 4 months ago

Up.

I would love to see this implemented since it's mentioned in 101 of Firebase Realtime Database usage.

https://firebase.google.com/docs/database/android/read-and-write#basic_write

nbransby commented 4 months ago

What happens now when they are properties that don't map to class fields?

murfel commented 4 months ago

I'd tell, but I just can't get the reading from the FB Realtime Database working yet. Will let you know once I do.