Open janhohenheim opened 2 months ago
This should be lower priority, since an error is already raised when you do this sort of thing.
Hmm?
Query<&Foo, With<Foo>
is not an errorQuery<Foo>
is an error, but an extremely unreadable one that beginners run into nearly immediately.The real argument imo is that we soon have builtin tools to improve these error messages on the Rust side
Hmm?
Query<&Foo, With<Foo>
is not an errorQuery<Foo>
is an error, but an extremely unreadable one that beginners run into nearly immediately.The real argument imo is that we soon have builtin tools to improve these error messages on the Rust side
Ah, my bad! It's clearly been a while since I've actually used Bevy :)
Query<&Foo, With<Foo>>
needlessly filters forFoo
Query<Foo>
will fail, tryQuery<&Foo>