If a remote field is of UNION type, currently the remote relationship validation throws "only object or scalar types are allowed".