[Data masking] Conditionally suspend useFragment
depending on source of query
#11680
Labels
🎭 data-masking
Issues/PRs related to data masking
Milestone
useFragment
should only suspend if used with a suspenseful hook (e.g.useSuspenseQuery
). If it originates fromuseQuery
, we should not suspend.We will need to determine if we need to provide a
loading
orpending
field in the event it is used withuseQuery
. If so, this field should not be available when used withuseSuspenseQuery
.The text was updated successfully, but these errors were encountered: