linter arm-resource-operation shouldn't be reported on non-resource operation #2081
Labels
bug
Something isn't working
lib:azure-resource-manager
Issues for @azure-tools/typespec-azure-core library
triaged:core
Milestone
See this playground,
listByLocation
is not a resource operation.Actual: it reports "Resource GET operation must be decorated with @armResourceRead or @armResourceList."
Expected: no warning.
Additional information: If I call
ArmProviderActionAsync
directly instead ofComputeProviderActionAsync
, there is no warning.The text was updated successfully, but these errors were encountered: