Interface defining options that can be passed to createUnionType function.
createUnionType
Optional
Description of the union.
Name of the union.
Custom implementation of the "resolveType" function.
Types that the union consist of.
Interface defining options that can be passed to
createUnionTypefunction.