-
Hello ! I have a case in a project where graphcache might or might not have enough information to create an optimistic response for a mutation. But in case it does, it should put out an optimistic response. But the Wouldn't it be a good idea to be able to return Best regards. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@ostrebler You can totally return |
Beta Was this translation helpful? Give feedback.
@ostrebler You can totally return
undefined
from an optimistic updater, so that shouldn't cause any issues. You'll have to make sure though that your updater bails when it does encounter thesenull
results on their fields.