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 there 👋 Do someone have example of using gomodel directive for union types? I am getting "merging type systems failed: unable to bind to interface" error. Thanks in advance
type Calculation {
condition: Condition
}
union Condition = ConditionA | ConditionB
type ConditionA @goModel(model: "url_to_proto_ConditionA") {
minAmount: Int64
maxAmount: Int64
}
type ConditionB @goModel(model: "url_to_proto_ConditionB") {
amount: Int64!
}
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 👋 Do someone have example of using gomodel directive for union types? I am getting "merging type systems failed: unable to bind to interface" error. Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions