no-nullable
@azure-tools/typespec-azure-core/no-nullableProperties are most often not nullable but optional.
Do not use | null to specify that a property is nullable. Instead, use the ? operator to indicate that a property is optional.
โ Incorrect
Section titled โโ Incorrectโmodel Pet { id: string; owner: string | null;}โ Correct
Section titled โโ Correctโmodel Pet { id: string; owner?: string;}