DEV Community

Discussion on: Using Vue Composition API with Firebase: Part II

Collapse
 
pnaylor profile image
Paul Naylor

Thanks for the post, it is a helpful reference!
Only issue I ran into was with getCollection querying. It looks like there is a typo of _query in the .where call. Also getting an error that .where function is expecting 3 args but getting 1.

Collapse
 
aaronksaunders profile image
Aaron K Saunders

did you check the final project in github because there might have been a typo moving the code from the project into the blog post.

did you resolve the issue?

Collapse
 
pnaylor profile image
Paul Naylor

Looks the same in Git source. Maybe I am just missing something though?

Thread Thread
 
aaronksaunders profile image
Aaron K Saunders

can you send me the link? there are multiple branches in the repo, I just ran the vuex branch and it worked fine

Thread Thread
 
pnaylor profile image
Paul Naylor

Hm ya, the code does seem to run, guess I am just not sure how exactly.. Only see one reference to _query in the code, as mentioned, so not sure how it is actually getting defined.