Azure / Azure/typespec-azure

Consider add back @Private.enforceConstraint(Resource, Foundations.Resource) to ArmResourceRead

Open
#2,781 1 comment 0 reactions 0 assignees View on GitHub
breaking-change feature lib:azure-resource-manager
Dominant language
TypeScript
Stars
27
Forks
90
Avg merge
1d 22h
Merged PRs (30d)
156

Description

On the Azure.ResourceManager.ArmResourceRead, there is no @Private.enforceConstraint(Resource, Foundations.Resource) on it. We should consider add back it as a safeguard.

Contributor guide

Open the contributing guide

Research direction

Start by locating the Azure.ResourceManager.ArmResourceRead declaration and compare its constraints with related resource types. Confirm whether @Private.enforceConstraint(Resource, Foundations.Resource) is intentionally absent, then validate the change with the repository's existing checks; done means the safeguard is restored if the comparison supports it.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.