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
Hello Hotchocolate team,
I am new to Hotchocalate and graphql, recently I am working on a microservice project adopted this technique, I have some questions,
does hotchocalate support single subscription resolver method return different response type? (we intend to reduce connection from client side)
We had implemented unionType with multiple entity types, but one resolver method only allow one Output Type,
Could you advise if Subscription in Hotchocalate supports Output type based on Interface or abstract class? I tried interface , but
got InvalidMessageType when called sender.sendAsync( topic, object implanted the interface mentioned above)
Or my understand on interfaceType is completely wrong?
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
-
Hello Hotchocolate team,
I am new to Hotchocalate and graphql, recently I am working on a microservice project adopted this technique, I have some questions,
We had implemented unionType with multiple entity types, but one resolver method only allow one Output Type,
got InvalidMessageType when called sender.sendAsync( topic, object implanted the interface mentioned above)
Or my understand on interfaceType is completely wrong?
Thank you in advance,
Charles
Beta Was this translation helpful? Give feedback.
All reactions