Add proper decorator for interface holding non-resource operations
- Dominant language
- TypeScript
- Stars
- 27
- Forks
- 90
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 164
Description
For the operations in the file `routes.tsp`, they are all non-resource operations. So the interface shouldn't be decorated by `@armResourceOperations`. If we don't decorate it with `@armResourceOperations`, the linter `@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator` violates.
We need a proper decorator and modify the message for `@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator`
Contributor guide
Research direction
Start by reading routes.tsp and the implementation of @azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator, then run the linter against the interface. Done means non-resource operations have an appropriate decorator and the diagnostic message no longer incorrectly requires @armResourceOperations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100