arm-no-record
@azure-tools/typespec-azure-resource-manager/arm-no-recordARM requires Resource provider teams to define types explicitly. This is to ensure good customer experience in terms of the discoverability of concrete type definitions.
❌ Incorrect
model Address { address: Record<string>; city: string; state: string;}✅ Correct
model Address { street: string; city: string; state: string; country: string; postalCode: string;}❌ Incorrect
model Address is Record<string>;✅ Correct
model Address { street: string; city: string; state: string; country: string; postalCode: string;}❌ Incorrect
model Address extends Record<string> {}✅ Correct
model Address { street: string; city: string; state: string; country: string; postalCode: string;}