You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CLAUDE.md, Test-DbaAvailabilityGroup - Document Microsoft SMO typo and fix property name
- Revert AvailabilityDatabaseId to AvailabilityDateabaseId (Microsoft's typo is correct)
- Add comprehensive documentation about Microsoft SMO property name typos to CLAUDE.md
- Skip -HealthCheck integration tests on AppVeyor (AG infrastructure not available)
- Update golden rules summary to include SMO typo preservation
The property AvailabilityDateabaseId contains a typo from Microsoft's SMO library.
This is the actual property name and must be used as-is to work correctly.
Co-authored-by: Chrissy LeMaire <potatoqualitee@users.noreply.github.com>
Copy file name to clipboardExpand all lines: CLAUDE.md
+29-6Lines changed: 29 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -300,6 +300,27 @@ AfterAll {
300
300
301
301
## DBATOOLS-SPECIFIC CONVENTIONS
302
302
303
+
### Microsoft SMO Property Name Typos
304
+
305
+
**CRITICAL KNOWLEDGE**: Some Microsoft SMO (SQL Server Management Objects) properties contain typos in their official names. These are NOT errors - they are the actual property names you must use.
306
+
307
+
**Known typos that MUST be preserved:**
308
+
309
+
1.**`AvailabilityDateabaseId`** (with typo: "Dateabase" instead of "Database")
310
+
- Used in: Availability Group DatabaseReplicaStates
**Important:** When reviewing or modifying code that uses SMO objects, verify the actual property names in Microsoft's documentation or SMO metadata before "correcting" apparent typos. The typo might be intentional (or at least unchangeable) in the SMO library.
323
+
303
324
### Command Registration
304
325
305
326
**CRITICAL RULE**: When adding a new command, you MUST register it in TWO places:
@@ -488,6 +509,7 @@ These types of tests bloat the test suite. Only add them if explicitly requested
0 commit comments