[TEIID-2263] makedep makenotdep hints should allow for more complicated scenarios - JBoss Issue Tracker allowed hints to be specific to view layers, but there's nothing yet to make a hint specific to union branch.
> Or, is there a better way? Or am I just doing something wrong, and the hint should apply to the branch now?
No a unique alias name is probably the best workaround.
It would take an enhancement on top of TEIID-2263 to support a syntax for specifying union branches as well.