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
Hmm, have you tried digging into the info argument? I know there's a lot of information there.
If you want to check the type of an object you are going to return and is already computed, how about you add a simple check that accesses the obj.__typename field and decides what to do? You might need to be a bit more cautious when it comes to your queries, as you might need to include that in every query, but you can resolve that using fragments.
Is there any way that I can extract the __typename of a resolver response in my middleware?
The text was updated successfully, but these errors were encountered: