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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Here i am creating an objectType object called Product
It is working fine... i am also creating a UnionType
Here both AvatarType & UserType is an Object itself!!
I want to use this query as
Here RootQuery.products is Type::listOf( 'Product' )
How do i connect the Union SimpleProduct to Product ObjectType
Read some blogs about interfaces but not sure how to connect that Union to Object without using fields!! for example i saw blog articles as...
but that just give me...
How can i add Union directly to Object without using fields!!
Beta Was this translation helpful? Give feedback.
All reactions