merge_types
Merge multiple Strawberry types into one.
For example, given two queries A
and B
, one can merge them into a
super type as follows:
This is essentially the same as:
Signature:
Parameters:
-
name:
- Type
-
str
-
types:
- Type
-
Tuple[type, ...]