A clarification on @skip / @include precedence #31
-
The spec edits mention I'm not 100% clear on what that means for a fragment with both |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Yes the fragment should be deferred in that case. When Do you have any suggestions on how the spec language can be clarified? |
Beta Was this translation helpful? Give feedback.
-
Thanks! That makes sense.
Tough one! :) Maybe something like "A fragment's execution should be delayed according to Or maybe the original sentence could be changed to " |
Beta Was this translation helpful? Give feedback.
Yes the fragment should be deferred in that case. When
@defer(if: true)
is paired with@include(if: false)
or@skip(if: true)
, these fragment should be removed entirely and not deferred.Do you have any suggestions on how the spec language can be clarified?