Skip to content

Commit bc304ab

Browse files
eapachebinaryseed
authored andcommitted
Add performance criteria to input unions (#640)
1 parent 3dc50da commit bc304ab

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

rfcs/InputUnion.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,14 @@ Many people in the wild are solving the need for input unions with validation at
204204

205205
Preferably without loss of functionality.
206206

207+
### Input unions should be expressed efficiently in the query and on the wire
208+
209+
The less typing and fewer bytes transmitted, the better.
210+
211+
### Input unions should be performant for servers
212+
213+
Ideally a server does not have to do much computation to determine which concrete type is represented by an input.
214+
207215
## Use Cases
208216

209217
There have been a variety of use cases described by users asking for an abstract input type.

0 commit comments

Comments
 (0)