What warning "does not have an input type defined" means for embedded resources?

Its telling you to add an input type

 @impl true
  def graphql_type(_), do: :payments_product_metadata
  def graphql_type(_), do: :payments_product_metadata_input