Skip to content
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

remove obsolete EntityUid methods in favor of Entity<T> pattern #5675

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MilonPL
Copy link
Contributor

@MilonPL MilonPL commented Feb 12, 2025

entityuid casts to entity so in 99% of cases it was being marked as obsolete despite being fine

Entity truly is the best thing ever since sliced bread

Copy link
Member

@PJB3005 PJB3005 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Split the PR into warning cleanup and obsolete method removal. We can't remove these methods for a good while yet.

@MilonPL
Copy link
Contributor Author

MilonPL commented Feb 16, 2025

We can't remove these methods for a good while yet.

@PJB3005 I think the container ones would be fine to remove? Otherwise the new ones end up getting incorrectly marked as obsolete in new PRs because of EntityUid casting to Entity<T?>.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants