Skip to content

Fix ChangesetSpec serialization

Warren Gifford requested to merge es/fix-changeset-spec-serialization into main

Created by: eseliger

ChangesetSpecs with a PublishedValue that's Nil() would've been included as "published": null in JSON, hence failing validation. This is a workaround to properly marshal the struct as per our needs. We should revisit this later.

Closes https://github.com/sourcegraph/sourcegraph/issues/25968

Merge request reports

Loading