-
Notifications
You must be signed in to change notification settings - Fork 787
Mutually exclusive "skip" queries now fail #271
Comments
Hmm, I'm confused — when I use two nested |
@glasser worked before and is supposed to work if we have clearly mutually exclusive skips. We leveraged that at different points of our app and worked well so far. I think it is a completely valid use case. |
Should we support it though ? I'm open to discuss it! |
Yeah, I get why doing the "mutually exclusive skips" makes sense for the actual data part of the data prop, but it does make the "metadata" part (eg loading) a little confused — and even in 0.5.7, skipped queries did set |
@glasser: that actually explains some other issues we had, however, I still think it's worth fixing: and while we're at it fixing the metadata part as well... |
This issue will be fixed by #265 But in the meantime you could switch to the new |
@tmeasday was intending to do that anyway. But if the test can help you cover this case as well: that's better! |
@rricard is this working for you now? I don't really understand the test you linked to, as:
|
However, as said before, we switched to the new API and named those queries differently, we don't need that fixed anymore. And a few months later, I would advise anyone having this issue to do that as well, trying to feed the I'll close the issue, if it really really needs fixing, I can try to take a look myself. |
Steps to Reproduce
See the following failing test: 16f4104
Buggy Behavior
Two
graphql
wrappers, one skipping, one not skipping can't seem to resolve to the unskipping one.Expected Behavior
Two mutually exclusive
graphql
wrappers withskip
should be able to resolve the unskipped query.Version
The text was updated successfully, but these errors were encountered: