-
Notifications
You must be signed in to change notification settings - Fork 28
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
minimizedQueryString is undefined #160
Comments
Ok so the problem was I only had one entry in my variables object when requesting cashay.query(...) It's not a bug of cashay (the variable should not have been null on my end, that was the bug) but I would definitely add a test case and a proper error message in that case (when I'm done figuring everything out !) |
ah, sorry for not responding to this... so cashay allows for multi-part queries. for example, part 1 is getting a list of posts, part 2 is getting the comments for each post. How it does that is by seeing if the variable is undefined. so on first pass, the variable is undefined, so it ignores that part. when the variable is something useful (provided by the response of the first query) then it knows it can proceed to request the second part. hope that makes sense! |
@mattkrick thanks for your answer ! |
hey @mattkrick, two things:
(been strugguling with this silently failing)
The text was updated successfully, but these errors were encountered: