You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
recatek
changed the title
Add the AnyOf<A, B, C> pseudo-struct decorator in the parameter section of queries
Add the OneOf<A, B, C> pseudo-struct decorator in the parameter section of queries
Jun 4, 2023
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.The text was updated successfully, but these errors were encountered: