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
-
Hello there,
I am trying to generate a grapqhl union type. I have the following GRPC schema that should be translated to Graphql from Graphql Mesh:
message Event {
oneof event {
AEvent aEvent = 1;
BEvent bEvent = 2;
}
}
The result is:
export type Event = {
__typename?: 'Event';
aEvent?: Maybe;
bEvent?: Maybe;
};
I want to have the following as a result:
export type Event = AEvent | BEvent
Beta Was this translation helpful? Give feedback.
All reactions