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 example of adding a map to an array in a complex object #236

Merged
merged 2 commits into from Nov 17, 2020

Conversation

amalagaura
Copy link
Contributor

@amalagaura amalagaura commented Nov 14, 2020

Follow up from issue #223 to document the example/answer given

@pivotal-issuemaster
Copy link

@amalagaura Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@pivotal-issuemaster
Copy link

@amalagaura Thank you for signing the Contributor License Agreement!

@amalagaura
Copy link
Contributor Author

@pivotal-dean I added the overlay example from #223. I hope it is sufficient.

@@ -75,6 +75,7 @@ exampleSets = [
{"id": "example-edit-map-value"},
{"id": "example-remove-map-item"},
{"id": "example-rename-key-in-map"},
{"id": "example-append-map-to-array"},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This example may follow logically after Append array item, how would you feel about this example being number 11?

@amalagaura
Copy link
Contributor Author

@StevenLocke Thanks for the feedback. I liked your suggestions and simplified accordingly, hope it is better. I left an id field, maybe it is not needed and we can simplify the map further, I am not sure.. I put the order of the example according to what @pivotal-dean suggested in issue #223. I think after Append array item does make sense.

Copy link
Contributor

@StevenLocke StevenLocke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great updates! This looks good to me.

@pivotal-dean
Final word is yours on the order :)

@cari-lynn
Copy link
Contributor

Looks great. Thanks for the addition @amalagaura !

@StevenLocke StevenLocke merged commit 42265e2 into carvel-dev:develop Nov 17, 2020
@amalagaura amalagaura deleted the 223_document_array_of_maps branch November 18, 2020 14:02
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.

None yet

4 participants