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

Entities: Add version property to entities upon creation. #1710

Open
digisomni opened this issue Oct 25, 2022 · 4 comments
Open

Entities: Add version property to entities upon creation. #1710

digisomni opened this issue Oct 25, 2022 · 4 comments
Assignees
Labels
stale Issue / PR has not had activity

Comments

@digisomni
Copy link
Member

Summary

In the interest of allowing entities to be properly handled and upgraded, without assumptions, every entity is assigned a semantic version upon its creation. This is a read-only property to the scripting API and can only be changed by copying properties to a new entity.

@ctrlaltdavid
Copy link
Collaborator

How does this property differ from the UUID? That also is a read-only unique identifier.
How is it envisaged that the version property be used?

@digisomni
Copy link
Member Author

Entity JSONs have a single version at the top if I recall correctly, this instead moves that version number into each entity. The UUID is to identify the entity, the version is to determine what set of "properties" it has and can legally have so we can perform fix-up, determine compatibility, etc.

@stale
Copy link

stale bot commented Apr 28, 2023

Hello! Is this still an issue?

1 similar comment
@stale
Copy link

stale bot commented Oct 31, 2023

Hello! Is this still an issue?

@stale stale bot added the stale Issue / PR has not had activity label Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Issue / PR has not had activity
Projects
None yet
Development

No branches or pull requests

3 participants