Azure / Azure/typespec-azure

Consider add a ArmResourceDeleteSync/ArmResourceDeleteAsync in the legacy namespace

Open
#3,039 1 comment 0 reactions 0 assignees View on GitHub
needs-area
Dominant language
TypeScript
Stars
27
Forks
90
Avg merge
1d 22h
Merged PRs (30d)
156

Description

ArmResourceDeleteSync/ArmResourceDeleteAsync is deprecated. Sometimes we have some delete operations that have 200 response therefore we need to write
```
delete is ArmResourceDeleteWithoutOkAsync<
RedisCacheAccessPolicy,
Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse
>;
```
by passing `OK` to `WithoutOK`. We need some template in legacy namespace to represent this.

Contributor guide

Open the contributing guide

Research direction

Start by locating the legacy namespace definitions and the existing ArmResourceDeleteWithoutOkAsync template. Compare how current delete templates handle 200 responses and the OK argument. Done means the legacy namespace provides templates for delete operations with 200 responses without requiring the current WithoutOK workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend-api-design
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.