-
Notifications
You must be signed in to change notification settings - Fork 77
Conversation
Corresponding JIRA ticket: https://improbableio.atlassian.net/browse/UTY-2661 |
workers/unity/Packages/io.improbable.gdk.core/Utility/Snapshot.cs
Outdated
Show resolved
Hide resolved
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.
While you're here, can you cherry pick the Snapshot changes from https://github.com/spatialos/gdk-for-unity/pull/1477/files#diff-6cbb5e5c9ae6005cf38f5951cabcfbecR89 which fixes a memory leak (assuming you dispose the Snapshot
).
workers/unity/Packages/io.improbable.gdk.core/Utility/Snapshot.cs
Outdated
Show resolved
Hide resolved
workers/unity/Packages/io.improbable.gdk.core/Utility/Snapshot.cs
Outdated
Show resolved
Hide resolved
workers/unity/Assets/Tests/EditmodeTests/Correctness/Utility/SnapshotTests.cs
Outdated
Show resolved
Hide resolved
workers/unity/Packages/io.improbable.gdk.core/Utility/Snapshot.cs
Outdated
Show resolved
Hide resolved
workers/unity/Packages/io.improbable.gdk.core/Utility/Snapshot.cs
Outdated
Show resolved
Hide resolved
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.
We should also amend the usage of the Snapshot class in the playground (I think only disposing it is required here).
workers/unity/Assets/Tests/EditmodeTests/Correctness/Utility/SnapshotTests.cs
Outdated
Show resolved
Hide resolved
…napshotTests.cs Co-authored-by: Jamie Brynes <[email protected]>
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.
LGTM % changelog suggestions
CHANGELOG.md
Outdated
- Added new features to the `Snapshot` class [#1479](https://github.com/spatialos/gdk-for-unity/pull/1479) | ||
- Adding duplicate entity ID now throws an exception |
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.
- Added new features to the `Snapshot` class [#1479](https://github.com/spatialos/gdk-for-unity/pull/1479) | |
- Adding duplicate entity ID now throws an exception | |
- Adding an entity to the `Snapshot` class with a duplicate entity ID now throws an exception. [#1479](https://github.com/spatialos/gdk-for-unity/pull/1479) |
Kudos, SonarCloud Quality Gate passed! 0 Bugs |
Description
In
Snapshot
class:EntityId
is validEntityId
Tests
Documentation
Primary reviewers
If your change will take a long time to review, you can name at most two primary reviewers who are ultimately responsible for reviewing this request. @ mention them.