Skip to content

Conversation

savil
Copy link
Collaborator

@savil savil commented Sep 23, 2022

Summary

I'm adding omitempty to Plan.Definitions.

I'm not adding it to Plan.DevPackages and Plan.RuntimePackages. Because it explains to a reader that these are empty. These fields are so core and commonly used that I think we want to make an exception for them.

How was it tested?

compiles

Copy link
Collaborator Author

savil commented Sep 23, 2022

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@savil savil force-pushed the savil/plan-definitions-empty branch from 5782155 to 07213dd Compare September 23, 2022 19:51
@savil
Copy link
Collaborator Author

savil commented Sep 23, 2022

I'll update all the testcases separately.

@savil savil requested review from gcurtis and loreto September 23, 2022 19:51
@savil savil merged commit 8a8905c into main Sep 26, 2022
@savil savil deleted the savil/plan-definitions-empty branch September 26, 2022 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants