jazz
jazz copied to clipboard
Allow eliding owner and new NestedClass if owner is the same
Before
var pipeline = new Pipeline({
pipelineId: "test",
environments: new ListOfEnvironments([
new Environment({
name: "L3",
status: "RUNNING",
executionId: "execId",
},{ owner })
],{ owner }),
}, { owner });
After
var pipeline = new Pipeline({
pipelineId: "test",
environments: [
{
name: "L3",
status: "RUNNING",
executionId: "execId",
}
],
}, { owner });
Thanks @markmelville
In progress as part of https://github.com/garden-co/jazz/pull/1547
Landed!