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
Can I specify the viewerCanSee function just for some load? Something like:
UserLoader.load(context,userId,ctx=>ctx.user.id)// On the third argument (optional), either return the `data` if the value from callback isn't a falsy or `NullConnection`
I think that it would be interesting to deal with "atomic" logic behind some loads. Is there a way to do it? If not, would be interesting to implement something like it?
Probably, based on #240, the first argument context wouldn't be necessary as well.
The text was updated successfully, but these errors were encountered:
Can I specify the
viewerCanSee
function just for someload
? Something like:I think that it would be interesting to deal with "atomic" logic behind some
load
s. Is there a way to do it? If not, would be interesting to implement something like it?Probably, based on #240, the first argument
context
wouldn't be necessary as well.The text was updated successfully, but these errors were encountered: