microsoft / microsoft/typespec

Investigate changing `getVersionsForEnum` to not rely on namespace.

Open
#1,681 0 comments 0 reactions 0 assignees View on GitHub
lib:versioning
Dominant language
Java
Stars
5.9k
Forks
394
Avg merge
1d 23h
Merged PRs (30d)
104

Description

The `getVersionsForEnum` method has a reliance on namespace. In PR #1647 this was changed from a reliance on the enum's containing namespace to a reverse lookup of namespaces that version based on the enum, but there is concern that this could have unintended consequences.

The purpose of this issue it to investigate if we can remove the dependency on namespace entirely.

See:
https://github.com/microsoft/typespec/pull/1647#discussion_r1120464954

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.