diff --git a/packages/typespec-lintdiff/src/rules/consistent-patch-properties.ts b/packages/typespec-lintdiff/src/rules/consistent-patch-properties.ts index b772cbb256..268ad341cc 100644 --- a/packages/typespec-lintdiff/src/rules/consistent-patch-properties.ts +++ b/packages/typespec-lintdiff/src/rules/consistent-patch-properties.ts @@ -2,6 +2,7 @@ import { resolveProviderNamespace } from "@azure-tools/typespec-azure-resource-m import { createRule, getDiscriminator, + getProperty, isNeverType, isNullType, paramMessage, @@ -204,16 +205,23 @@ function getPayloadProperties(program: Program, model: Model): Map