Initial Slack conversation started in the following thread from @shizhMSFT
Hi, while implementing image-spec v1.1.0-rc2, we find that the artifactType field is inconsistent in artifact.md and artifact.go. The artifactType field is marked as SHOULD in the markdown file while is NOT marked as omitempty in the go struct. Therefore, I am curious when we will have an empty value for the artifactType field. Where can I find an example for such a scenario?
Possible approaches for a fix:
- Revise
artifact.md and mark artifactType field as MUST.
- Revise
artifact.go and add omitempty tag to the artifactType field.
Initial Slack conversation started in the following thread from @shizhMSFT
Hi, while implementing image-spec v1.1.0-rc2, we find that the
artifactTypefield is inconsistent in artifact.md and artifact.go. TheartifactTypefield is marked asSHOULDin the markdown file while is NOT marked asomitemptyin the go struct. Therefore, I am curious when we will have an empty value for theartifactTypefield. Where can I find an example for such a scenario?Possible approaches for a fix:
artifact.mdand markartifactTypefield asMUST.artifact.goand addomitemptytag to theartifactTypefield.