Skip to content
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

Add omitempty to project metadata types #277

Merged
merged 1 commit into from
Mar 25, 2020

Conversation

matthewmcnew
Copy link
Contributor

This will prevent missing project metadata from writing a noisy project metadata value: {\"source\":{\"type\":\"\",\"version\":null,\"metadata\":null}}

This will instead produce an empty json document {}

Signed-off-by: Matthew McNew [email protected]

@matthewmcnew matthewmcnew requested a review from a team as a code owner March 20, 2020 03:27
This will prevent missing project metadata from writing a noisy project metadata value: `{\"source\":{\"type\":\"\",\"version\":null,\"metadata\":null}}`

This will instead produce an empty json document `{}`

Signed-off-by: Matthew McNew <[email protected]>
@matthewmcnew matthewmcnew force-pushed the omitempty-projectmetadata branch from 7a9fd67 to 4e74d00 Compare March 20, 2020 14:27
@ekcasey ekcasey merged commit 8bacb3b into buildpacks:master Mar 25, 2020
@ekcasey ekcasey added this to the lifecycle-0.7.3 milestone Apr 22, 2020
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