Skip to content

Latest commit

 

History

History
14 lines (13 loc) · 296 Bytes

File metadata and controls

14 lines (13 loc) · 296 Bytes

Union

# src/MyBundle/Resources/config/graphql/HumanAndDroid.types.yml
#
#  This implements the following type system shorthand:
#  union HumanAndDroid = Human | Droid
HumanAndDroid:
    type: union
    config:
        types: [Human, Droid]
        description: Human and Droid