Add the OneOf<A, B, C> pseudo-struct decorator in the parameter section of queries
recatek opened this issue · comments
recatek commented
Allow queries to specify their parameters in the form of |foo: OneOf<ComponentA, ComponentB, ComponentC>|
, which will match any archetype with any of those components. There are several situations where this could result in ambiguity, but each can be detected and reported as a compile-time error.