This repository has been archived by the owner on Apr 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 787
Feature request: Pass skip
outside of options
so you can assume skip is false when evaluating other options
#245
Comments
The same applies to |
Note that we might want to keep the old |
I think @glasser is going to give it a shot! |
oh perfect! A couple thoughts:
We will need to make sure this works on SSR as well |
I'd say yes and yes - it should be as if the component was I rendered IMO. |
5 tasks
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Steps to Reproduce
A common reason that you might want to use
skip
is that some necessary data for evaluating the query is not available. For example:Buggy Behavior
However, you can't actually write the code as above: the
skip
andvariables
fields are evaluated at the same time, so you have to checkfoo
again in the variables clause.Expected Behavior
I'd like to be able to instead write:
Then I can assume while writing the arguments to
options
that we aren't skipping the query.Version
The text was updated successfully, but these errors were encountered: