gdg-tangier / vue-firestore

:cloud: Cloud Firestore binding in realtime with Vuejs
MIT License
235 stars 28 forks source link

Adds option to make key property non-enumerable #39

Closed olivierkes closed 5 years ago

olivierkes commented 5 years ago

Sorry, I just pushed that commit minutes after you merged the PR.

require('firebase/firestore')
Vue.use(VueFirestore, {
    key = 'id',         // the name of the property. Default is '.key'.
    enumerable = false  // wether it is enumerable or not. Default is false.
})

Not sure this is really useful, but it's there.

amranidev commented 5 years ago

@olivierkes can you reopen this pull-request, as this branch has 4 commits behind gdg-tangier:master.

Thanks :+1: