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

Log errors when encountering entity data fields #5578

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

Conversation

ElectroJr
Copy link
Member

@ElectroJr ElectroJr commented Dec 27, 2024

ISerializationManager will now log errors if it encounters Entity<T> data-fields, which have never been supported but have been getting used in some content code. Currently this is just done with a blacklisting attribute, because I don't think there's any easy way to automate it with the current serialization system.

This PR also makes some yaml node validation methods more robust, so that they return error nodes instead of throwing exceptions.

Fixes #4855

Requires space-wizards/space-station-14#34083

@slarticodefast
Copy link
Member

Resolves space-wizards/space-station-14#34030

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Serialization Status: Requires Content PR This PR breaks content and requires both to be merged together.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Serve should destroy Entity<T>
2 participants