Skip to content
This repository has been archived by the owner on Jan 21, 2025. It is now read-only.

resource-manager, fix resource update call validation #637

Merged
merged 2 commits into from
Jul 17, 2024

Conversation

XiaofeiCao
Copy link
Contributor

@XiaofeiCao XiaofeiCao commented Jul 17, 2024

ArmResourcePatchAsync no longer generate xxUpdate models, thus location property of the TrackedResource will get serialized during update.
This PR skip the check on bodyEquals, but rather check properties itself.

Java's codegen test passed.

Cadl Ranch Contribution Checklist:

  • I have written a scenario spec
  • I have meaningful @scenario names. Someone can look at the list of scenarios and understand what I'm covering.
  • I have written a mock API
  • I have used @scenarioDocs for extra scenario description and to tell people how to pass my mock api check.

Copy link

changeset-bot bot commented Jul 17, 2024

🦋 Changeset detected

Latest commit: a5c8673

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@azure-tools/cadl-ranch-specs Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@XiaofeiCao XiaofeiCao merged commit 86b5841 into Azure:main Jul 17, 2024
7 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants