You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Oops, good find @miracle2k. The condition was shared because we also want to early return when it's IGNORE so (!rangeBehavior && rangeBehavior !== IGNORE) would probably not be what we want here.
I implement
rangeBehaviours
as a function and return "ignore". Relay shows me this warning:Using
nullas a rangeBehavior value is deprecated. Use
ignoreto avoid refetching a range.
Callsite:
relay/src/traversal/writeRelayUpdatePayload.js
Line 416 in 712f592
Is the condition there wrong? I'm thinking it might need to be
(!rangeBehavior && rangeBehavior !== IGNORE)
The text was updated successfully, but these errors were encountered: