Skip to content

Commit ca1378c

Browse files
authored
Update InputUnion.md
1 parent 43a5826 commit ca1378c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rfcs/InputUnion.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ If a solution places any restrictions on member types, compliance with these res
161161
In addition to containing Input types, member type may also contain Leaf types like `Scalar`s or `Enum`s.
162162

163163
* Objection: Multiple Leaf types serialize the same way, making it impossible to distinguish the type. For example, a `String`, `ID` and `Enum`.
164+
* Potential restrictions to fix: Limit to one leaf type in a union?
164165
* Objection: Output polymorphism is restricted to Object types only. Supporting Leaf types in Input polymorphism would create a new inconsistency.
165166

166167
## Use Cases

0 commit comments

Comments
 (0)