Azure / Azure/azure-sdk-tools

Should a fixed single value enum to a extensible enum be a breaking?

Open
#11,236 0 comments 0 reactions 0 assignees View on GitHub
needs-triage
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 1h
Merged PRs (30d)
143

Description

Before:
```
interface xxx {
intervalUnit?: "Days"
}
```

After:
```
interface xxx {
intervalUnit?: abc
}

enum KnownAbc
...

type abc = string
```

Should a fixed single value enum to a extensible enum be a breaking?

Contributor guide

Open the contributing guide

Research direction

No source file, test, or entry point is named; start by locating the code that defines intervalUnit and the repository's breaking-change guidance. Determine whether the Before-to-After type change is considered breaking and document the project's ruling.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.