-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Merged by Bors] - Use bevy_reflect as path in case of no direct references #1875
Conversation
eeeed20
to
1265c28
Compare
1265c28
to
d9a19c2
Compare
This comment has been minimized.
This comment has been minimized.
Did a typo which while writing the commit message, but quickly fixed it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems like a sensible approach.
@alice-i-cecile, shouldn't all approved PR get the ready for @cart tag? |
Standard rule of thumb is two community reviews approving it <3 This only has one still, and it's not so trivial that I think it's correct to bend that. |
There are other places where we use |
I thought to make a follow up PR to cleanup other places to and unify the logic. It's more like a refactoring, so not included all changes here. This one for fixing the issue, another introduces a new crate and moves all path getting logic to it. Add other changes here too? |
I would prefer it as one PR; it'll be easier to review that way and we don't risk forgetting. |
Yeah I think that makes the most sense. Just do it in a separate commit so we can revert it if necessary. |
Not a problem, but you have to manually merge it then since |
Sorry I wasn't clear enough. I meant "revent" in the context of "pre-merged pr". Once we merge I don't think we'll need that level of granularity. |
9a0eebe
to
0317364
Compare
Semi-lazy question: what motivated the move from find-crate to cargo-manifest? |
A bit better API on dependency handling. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also add the new bevy_macro_utils
crate to the publish.sh
File in the tools
Folder.
@MinerSebas, added, but looking on how crates depends on each other it might make sense to move the module resolution logic to |
626ce8a
to
2fedad5
Compare
Just refactored Manifest logic into BevyManifest. This accomplishes a few things:
I also removed the |
bors r+ |
Fixes #1844 Co-authored-by: Carter Anderson <mcanders1@gmail.com>
Pull request successfully merged into main. Build succeeded: |
…1875) Fixes bevyengine#1844 Co-authored-by: Carter Anderson <mcanders1@gmail.com>
Fixes #1844