Skip to content

Conversation

@phantom-rabbit
Copy link
Collaborator

This PR addresses a maintainability issue in the space module by:
Replacing the hardcoded engine version string with the named constant EngineVersion103.
Updating the logic for retrieving the latest runtime framework version to use the new FindSpaceLatestVersion method instead of relying on a fixed version number.
These changes improve code clarity, reduce duplication, and make future version updates safer and easier.

Changes:
Use EngineVersion103 constant instead of magic string
Switch to FindSpaceLatestVersion() for latest runtime lookup
Testing:
Verified that space initialization behaves as expected with both known and latest engine versions
All existing unit tests pass

…mprove lookup logic

Replace hardcoded engine version number with constant EngineVersion103 to enhance maintainability
For the latest runtime framework, use the new FindSpaceLatestVersion method instead of hardcoded version lookup
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