anoblet / my-project

Starterkit based off lit-element - manages users, provides state, has a CRUD example,

Home Page:https://my-project-75792.firebaseapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

getCollection and getDocument should always return a promise with data regardles...

todo opened this issue · comments

commented

* @todo getCollection and getDocument should always return a promise with data regardless of whether or not it should fire a callback
*/
@customElement("voting-component")
export class Component extends BeforeRender(LitElement) {


This issue was generated by todo based on a @todo comment in 357b29e. It's been assigned to @anoblet because they committed the code.

Finished on getDocument, not on getCollection. getCollection adds the documentId to the object as an additional mapping which I do not feel comfortable standardizing. Will move into mapSnapshotToArray or will remove.

Completed