I thought this was already supported but cannot find any related code or documentation. Are traits supported in queries? Is it possible to query all components which implement a trait instead of a concrete component type?
Note: As I understand this is different from "dynamic queries" which are queries based on a type known at runtime but not at compile time. Here I know the trait type at compile time, but not all its implementations.