Content-Length: 214140 | pFad | http://github.com/mesqueeb/vuex-easy-firestore/issues/299

CF Documented limit syntax does not work · Issue #299 · mesqueeb/vuex-easy-firestore · GitHub
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documented limit syntax does not work #299

Open
richard-mckenna opened this issue Feb 26, 2020 · 2 comments
Open

Documented limit syntax does not work #299

richard-mckenna opened this issue Feb 26, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@richard-mckenna
Copy link

In order to set the number of returned items the documentations states you should do this:

dispatch('myModule/fetchAndAdd', {clauses: {limit: 1000}})

But for me this returns the following error:

index.esm.js?34ed:313 Uncaught (in promise) TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at Store.SET_PATHVARS (index.esm.js?34ed:313)
    at wrappedMutationHandler (vuex.esm.js?2f62:740)
    at commitIterator (vuex.esm.js?2f62:392)
    at Array.forEach (<anonymous>)
    at eval (vuex.esm.js?2f62:391)
    at Store._withCommit (vuex.esm.js?2f62:522)
    at Store.commit (vuex.esm.js?2f62:390)
    at Store.boundCommit [as commit] (vuex.esm.js?2f62:335)
    at local.commit (vuex.esm.js?2f62:692)

I have found that I have to pass empty pathVariables to get it to work:

dispatch('myModule/fetchAndAdd', {pathVariables: {}, clauses: {limit: 1000}})

@mesqueeb
Copy link
Owner

Thanks for the report !!

Sent with GitHawk

@louisameline louisameline added the bug Something isn't working label May 13, 2020
@louisameline
Copy link
Collaborator

This has been addressed and will be fixed in a next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/mesqueeb/vuex-easy-firestore/issues/299

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy