Skip to content

simplify DataItems to use the builtin marshallable map type #407

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 28, 2023

Conversation

joshrwolf
Copy link
Contributor

changes the DataItemList type in favor of a map[string]string type.

This makes lets us use the default serialization for map[string]string, while still retaining the deterministic sort behavior.

This makes it easier for external tooling that parses the struct types/encoding to figure out what's going on, and supports efforts like wolfi-dev/wolfictl#190

@joshrwolf joshrwolf requested a review from a team as a code owner April 28, 2023 18:23
@joshrwolf joshrwolf requested review from jdolitsky and imjasonh and removed request for a team April 28, 2023 18:23
@jdolitsky jdolitsky merged commit 2e74993 into chainguard-dev:main Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants