Skip to content

JSON backwards compatibility has been flushed #4318

@mpharrigan

Description

@mpharrigan

#4099 cleared some deprecated classes. Serialized files have a much longer lifespan than code. It was always the intent to keep much longer-term backwards compatibility for data files, especially experimental results which likely have cirq.TrialResult classes.

  1. the old TrialResult.json should be kept around like the "inward" files
  2. The resolver should re-direct "TrialResult" keys to cirq.Result. In some sense, this should have been done along with the initial rename.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bug-reportSomething doesn't seem to work.priority/highThis is something that should get done soon, e.g. within a month.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions