Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip computing a preview for Patch resources (#2182)
Since Patch resources do not have to specify a complete resource, attempting to patch a nonexistent resource will return an Invalid error response during preview. To avoid this, skip computing a preview for Patch resources, and return the inputs directly. This is the same behavior used for resources containing unknowns.
- Loading branch information
1 parent
bb1c93d
commit 718f9f6
Showing
2 changed files
with
19 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters