graphql_union_possible_types

Filter the possible_types to allow systems to add to the possible resolveTypes.

apply_filters( 'graphql_union_possible_types', array $types, array $config );

Params

  • $types (array): The possible types for the Union
  • $config (array): The config for the Union Type