Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.

Default SceneConverter implementation #1477

Closed
wants to merge 4 commits into from

Conversation

jamiebrynes7
Copy link
Contributor

Description

This PR adds a default implementation for Scene -> Snapshot using the interfaces defined in #1466. There were also a few related changes to make this more ergonomic/correct:

  • Snapshot now implements IDisposable as we need to dispose of the serialized schema data once we write out a snapshot.
  • Snapshot now auto-adds the Persistence component to entities. I.e. - snapshot.Add(entityTemplate); is pretty clear you do want the entity to be persistent!

Tests

  • Unit tests
  • Local testing

Documentation

  • Changelog

@improbable-prow-robot improbable-prow-robot added jira/no-ticket Indicates a PR has no corresponding JIRA ticket do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. labels Sep 3, 2020
@improbable-prow-robot improbable-prow-robot added A: core Area: Core GDK A: playground Area: Playground size/L Denotes a PR that changes 150-299 lines, ignoring generated files. labels Sep 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A: core Area: Core GDK A: playground Area: Playground do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. jira/no-ticket Indicates a PR has no corresponding JIRA ticket size/L Denotes a PR that changes 150-299 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants