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

Update Spec for switching to GET/PUT #2673

Merged
merged 5 commits into from Jan 10, 2023

Conversation

theunrepentantgeek
Copy link
Member

What this PR does / why we need it:

Updates the spec from #2600 based on subsequent feedback.

Special notes for your reviewer:

Thanks @matthchr

How does this PR make you feel:
gif

If applicable:

  • this PR contains documentation


Potential mitigation: Where the items in an array have a known identifier (easy for nested resources), use that identifier to match them up. Where the items in an array do not have a known identifier, compare them by index. We may find need for
Potential mitigation: In the common case where the items in an array have a known identifier, use that identifier to match them up. Where the items in an array do not have a known identifier, compare them by index.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Potential mitigation: In the common case where the items in an array have a known identifier, use that identifier to match them up. Where the items in an array do not have a known identifier, compare them by index.
Potential mitigation: In the common case where the items in an array have a known identifier (for example: When the items represent sub-resources with an `id` field), use that identifier to match them up. Where the items in an array do not have a known identifier, compare them by index.

Copy link
Member

Choose a reason for hiding this comment

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

Or possibly a way to phrase it without parens, but which includes that example, which I do think was a good one you had originally highlighted.

docs/hugo/content/design/ADR-2022-11-Change-Detection.md Outdated Show resolved Hide resolved
theunrepentantgeek and others added 2 commits January 10, 2023 13:23
Co-authored-by: Matthew Christopher <matthchr@users.noreply.github.com>
@theunrepentantgeek theunrepentantgeek enabled auto-merge (squash) January 10, 2023 00:37
@theunrepentantgeek theunrepentantgeek merged commit 87d0e59 into main Jan 10, 2023
Azure Service Operator Roadmap automation moved this from In Progress to Recently Completed Jan 10, 2023
@theunrepentantgeek theunrepentantgeek deleted the doc/update-diff-detection branch January 10, 2023 02:41
@matthchr matthchr moved this from Recently Completed to Ready for Release in Azure Service Operator Roadmap Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants